mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 22:19:28 -02: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
|
item: item
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
scope.hostResultsLoading = false;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
scope.hostResultsLoading = false;
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
scope.$emit(callback);
|
scope.$emit(callback);
|
||||||
}
|
}
|
||||||
@@ -1024,8 +1026,10 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
|
|||||||
failed: event.failures,
|
failed: event.failures,
|
||||||
status: (event.failed) ? 'failed' : 'successful'
|
status: (event.failed) ? 'failed' : 'successful'
|
||||||
});
|
});
|
||||||
scope.hostSummariesLoading = false;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
scope.hostSummariesLoading = false;
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
scope.$emit(callback);
|
scope.$emit(callback);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user