diff --git a/src/app/shared/notifications/models/notification-options.model.ts b/src/app/shared/notifications/models/notification-options.model.ts index 0db29ef6bd..65011496b3 100644 --- a/src/app/shared/notifications/models/notification-options.model.ts +++ b/src/app/shared/notifications/models/notification-options.model.ts @@ -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; } }