Merge pull request #1960 from charltonaustin/create_endpoint_for_motd_cisco
Create endpoint for motd cisco
This commit is contained in:
commit
04cefaca51
9 changed files with 157 additions and 1 deletions
|
@ -11,6 +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'] || [];
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Reference in a new issue