mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Merge pull request #832 from mabashian/linting-error-cleanup
Fixed linting/leftover merge errors
This commit is contained in:
@@ -69,7 +69,7 @@ function search (params = {}, config = {}) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (typeof params === 'string') {
|
if (typeof params === 'string') {
|
||||||
req.url = `?params`;
|
req.url = '?params';
|
||||||
} else if (Array.isArray(params)) {
|
} else if (Array.isArray(params)) {
|
||||||
req.url += `?${params.join('&')}`;
|
req.url += `?${params.join('&')}`;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -104,5 +104,5 @@ function HostsList($scope, HostsList, $rootScope, GetBasePath,
|
|||||||
|
|
||||||
export default ['$scope', 'HostsList', '$rootScope', 'GetBasePath',
|
export default ['$scope', 'HostsList', '$rootScope', 'GetBasePath',
|
||||||
'rbacUiControlService', 'Dataset', '$state', '$filter', 'Prompt', 'Wait',
|
'rbacUiControlService', 'Dataset', '$state', '$filter', 'Prompt', 'Wait',
|
||||||
'HostsService', 'SetStatus', 'canAdd', '$transitions', 'InventoryHostsStrings'
|
'HostsService', 'SetStatus', 'canAdd', '$transitions', 'InventoryHostsStrings', HostsList
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -120,7 +120,6 @@
|
|||||||
$state.go('inventories.edit.inventory_sources.edit', {inventory_source_id: id});
|
$state.go('inventories.edit.inventory_sources.edit', {inventory_source_id: id});
|
||||||
};
|
};
|
||||||
$scope.deleteSource = function(inventory_source){
|
$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(){
|
var action = function(){
|
||||||
$rootScope.promptActionBtnClass = "Modal-errorButton--sourcesDelete";
|
$rootScope.promptActionBtnClass = "Modal-errorButton--sourcesDelete";
|
||||||
Wait('start');
|
Wait('start');
|
||||||
|
|||||||
Reference in New Issue
Block a user