Fixing the build.

This commit is contained in:
charltonaustin 2016-10-10 14:42:33 -04:00
parent 04cefaca51
commit 48ba98fff4

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'] || [];
}, function (resp) {
return true;
});
}
}
};
});