feat(motd): ignore loading for motd

pull/2215/head
Anthony Lapenna 2018-08-22 13:18:02 +02:00
parent 68d77e5e0e
commit 46da95ecfb
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@ angular.module('portainer.app')
.factory('Motd', ['$resource', 'API_ENDPOINT_MOTD', function MotdFactory($resource, API_ENDPOINT_MOTD) {
'use strict';
return $resource(API_ENDPOINT_MOTD, {}, {
get: { method: 'GET' }
get: {
method: 'GET',
ignoreLoadingBar: true
}
});
}]);