Merge pull request #832 from mabashian/linting-error-cleanup

Fixed linting/leftover merge errors
This commit is contained in:
Jake McDermott 2017-12-13 19:46:02 -05:00 committed by GitHub
commit ad70754b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -69,7 +69,7 @@ function search (params = {}, config = {}) {
};
if (typeof params === 'string') {
req.url = `?params`;
req.url = '?params';
} else if (Array.isArray(params)) {
req.url += `?${params.join('&')}`;
} else {

View File

@ -104,5 +104,5 @@ function HostsList($scope, HostsList, $rootScope, GetBasePath,
export default ['$scope', 'HostsList', '$rootScope', 'GetBasePath',
'rbacUiControlService', 'Dataset', '$state', '$filter', 'Prompt', 'Wait',
'HostsService', 'SetStatus', 'canAdd', '$transitions', 'InventoryHostsStrings'
'HostsService', 'SetStatus', 'canAdd', '$transitions', 'InventoryHostsStrings', HostsList
];

View File

@ -120,7 +120,6 @@
$state.go('inventories.edit.inventory_sources.edit', {inventory_source_id: id});
};
$scope.deleteSource = function(inventory_source){
var body = '<div class=\"Prompt-bodyQuery\">' + i18n._('Confirm that you want to permanently delete the inventory source below from the inventory. Deleting this inventory source also deletes its associated groups and hosts.') + '</div><div class=\"Prompt-bodyTarget\">' + $filter('sanitize')(inventory_source.name) + '</div>';
var action = function(){
$rootScope.promptActionBtnClass = "Modal-errorButton--sourcesDelete";
Wait('start');