Merge pull request #1963 from charltonaustin/fixing_build
Fixing the build.
This commit is contained in:
commit
6d865e43d0
1 changed files with 5 additions and 5 deletions
|
@ -11,11 +11,11 @@ angular.module('quay').directive('quayMessageBar', function () {
|
|||
scope: {},
|
||||
controller: function ($scope, $element, ApiService) {
|
||||
$scope.messages = [];
|
||||
try {
|
||||
ApiService.getMessages().then(function (data) {
|
||||
$scope.messages = data['messages'] || [];
|
||||
});
|
||||
}
|
||||
ApiService.getMessages().then(function (data) {
|
||||
$scope.messages = data['messages'] || [];
|
||||
}, function (resp) {
|
||||
return true;
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Reference in a new issue