mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
Banner notifications are not maximized if 'info' message
This commit is contained in:
parent
912e70d219
commit
301b73c6c6
@ -37,10 +37,12 @@ define(
|
||||
notificationService.dismissOrMinimize(notification);
|
||||
};
|
||||
$scope.maximize = function(notification) {
|
||||
notification.cancel = function(){
|
||||
dialogService.dismiss();
|
||||
if (notification.severity > MessageSeverity.INFO){
|
||||
notification.cancel = function(){
|
||||
dialogService.dismiss();
|
||||
}
|
||||
dialogService.showBlockingMessage(notification);
|
||||
}
|
||||
dialogService.showBlockingMessage(notification);
|
||||
}
|
||||
}
|
||||
return BannerController;
|
||||
|
Loading…
Reference in New Issue
Block a user