Adding in a new message data model and the corresponding methods to in the API.
This commit is contained in:
parent
7d8cc1fc34
commit
1e733ddffb
8 changed files with 60 additions and 4 deletions
|
@ -11,6 +11,7 @@ angular.module('quay').directive('quayMessageBar', function () {
|
|||
scope: {},
|
||||
controller: function ($scope, $element, ApiService) {
|
||||
$scope.messages = [];
|
||||
ApiService.getMessages().then(function(data){ $scope.messages = data['messages'] || []; });
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Reference in a new issue