mirror of
https://github.com/nasa/openmct.git
synced 2025-05-08 11:38:35 +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);
|
notificationService.dismissOrMinimize(notification);
|
||||||
};
|
};
|
||||||
$scope.maximize = function(notification) {
|
$scope.maximize = function(notification) {
|
||||||
notification.cancel = function(){
|
if (notification.severity > MessageSeverity.INFO){
|
||||||
dialogService.dismiss();
|
notification.cancel = function(){
|
||||||
|
dialogService.dismiss();
|
||||||
|
}
|
||||||
|
dialogService.showBlockingMessage(notification);
|
||||||
}
|
}
|
||||||
dialogService.showBlockingMessage(notification);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return BannerController;
|
return BannerController;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user