Moving the messages endpoint to something more generic, and making the get visible all the time.

This commit is contained in:
Charlton Austin 2016-10-17 15:43:03 -04:00
parent 42ed8522fd
commit 8e5dc8d3db
7 changed files with 120 additions and 105 deletions

View file

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