mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 16:49:42 +00:00
Added transitions and severity classes
This commit is contained in:
@ -22,11 +22,12 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
[],
|
||||
function () {
|
||||
['../../../notification/src/MessageSeverity'],
|
||||
function (MessageSeverity) {
|
||||
"use strict";
|
||||
function BannerController($scope, notificationService, dialogService) {
|
||||
$scope.active = notificationService.active;
|
||||
$scope.MessageSeverity = MessageSeverity;
|
||||
$scope.dismiss = function(notification) {
|
||||
notificationService.dismissOrMinimize(notification);
|
||||
};
|
||||
|
Reference in New Issue
Block a user