mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
Job detail page
'Loading' message was not switching to 'No matching hosts' when completed search returns no results.
This commit is contained in:
@@ -968,8 +968,10 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
|
||||
item: item
|
||||
});
|
||||
}
|
||||
scope.hostResultsLoading = false;
|
||||
});
|
||||
|
||||
scope.hostResultsLoading = false;
|
||||
|
||||
if (callback) {
|
||||
scope.$emit(callback);
|
||||
}
|
||||
@@ -1024,8 +1026,10 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
|
||||
failed: event.failures,
|
||||
status: (event.failed) ? 'failed' : 'successful'
|
||||
});
|
||||
scope.hostSummariesLoading = false;
|
||||
});
|
||||
|
||||
scope.hostSummariesLoading = false;
|
||||
|
||||
if (callback) {
|
||||
scope.$emit(callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user