Merge pull request #1963 from charltonaustin/fixing_build

Fixing the build.
This commit is contained in:
Charlton Austin 2016-10-10 14:45:38 -04:00 committed by GitHub
commit 6d865e43d0

View file

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