Merge pull request #3006 from vmuzikar/KEYCLOAK-3280-master
KEYCLOAK-3280 Alerts in Admin Console are sometimes shown only for a split second
This commit is contained in:
commit
3a370e2726
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ module.factory('Notifications', function($rootScope, $timeout) {
|
|||
$rootScope.notification = notifications.current;
|
||||
|
||||
notifications.message = function(type, header, message) {
|
||||
notifications.current.remove();
|
||||
|
||||
notifications.current.type = type;
|
||||
notifications.current.header = header;
|
||||
notifications.current.message = message;
|
||||
|
|
Loading…
Reference in a new issue