mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
fixed notification type
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { BrowseByType } from '../../../+browse-by/+browse-by-switcher/browse-by-decorator';
|
||||
import { NotificationAnimationsType } from './notification-animations-type';
|
||||
|
||||
export interface INotificationOptions {
|
||||
timeOut: number;
|
||||
clickToClose: boolean;
|
||||
animate: BrowseByType;
|
||||
animate: NotificationAnimationsType | string;
|
||||
}
|
||||
|
||||
export class NotificationOptions implements INotificationOptions {
|
||||
@@ -18,6 +17,6 @@ export class NotificationOptions implements INotificationOptions {
|
||||
|
||||
this.timeOut = timeOut;
|
||||
this.clickToClose = clickToClose;
|
||||
this.animate = BrowseByType[animate];
|
||||
this.animate = animate;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user