mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +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';
|
import { NotificationAnimationsType } from './notification-animations-type';
|
||||||
|
|
||||||
export interface INotificationOptions {
|
export interface INotificationOptions {
|
||||||
timeOut: number;
|
timeOut: number;
|
||||||
clickToClose: boolean;
|
clickToClose: boolean;
|
||||||
animate: BrowseByType;
|
animate: NotificationAnimationsType | string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class NotificationOptions implements INotificationOptions {
|
export class NotificationOptions implements INotificationOptions {
|
||||||
@@ -18,6 +17,6 @@ export class NotificationOptions implements INotificationOptions {
|
|||||||
|
|
||||||
this.timeOut = timeOut;
|
this.timeOut = timeOut;
|
||||||
this.clickToClose = clickToClose;
|
this.clickToClose = clickToClose;
|
||||||
this.animate = BrowseByType[animate];
|
this.animate = animate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user