Job detail page

'Loading' message was not switching to 'No matching hosts' when completed search returns no results.
This commit is contained in:
Chris Houseknecht 2014-08-08 16:43:07 -04:00
parent 4f8a86b3fe
commit 5de05aaa4c

View File

@ -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);
}