Better empty messages on billing, prototype and application managers. Also properly handles the 404 for the invoices manager.

This commit is contained in:
Joseph Schorr 2015-04-09 16:25:10 -04:00
parent 3a2f271362
commit dddab60058
4 changed files with 27 additions and 6 deletions

View file

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