Moving the messages endpoint to something more generic, and making the get visible all the time.
This commit is contained in:
parent
42ed8522fd
commit
8e5dc8d3db
7 changed files with 120 additions and 105 deletions
|
@ -11,7 +11,7 @@ angular.module('quay').directive('quayMessageBar', function () {
|
|||
scope: {},
|
||||
controller: function ($scope, $element, ApiService) {
|
||||
$scope.messages = [];
|
||||
ApiService.getMessages().then(function (data) {
|
||||
ApiService.getGlobalMessages().then(function (data) {
|
||||
$scope.messages = data['messages'] || [];
|
||||
}, function (resp) {
|
||||
return true;
|
||||
|
|
Reference in a new issue