Better empty messages on billing, prototype and application managers. Also properly handles the 404 for the invoices manager.
This commit is contained in:
parent
3a2f271362
commit
dddab60058
4 changed files with 27 additions and 6 deletions
|
@ -30,6 +30,9 @@ angular.module('quay').directive('billingInvoices', function () {
|
|||
ApiService.listInvoices($scope.organization).then(function(resp) {
|
||||
$scope.invoices = resp.invoices;
|
||||
$scope.loading = false;
|
||||
}, function() {
|
||||
$scope.invoices = [];
|
||||
$scope.loading = false;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue