From a3b97f7bd9e60c41664e82301f1b461ab822e984 Mon Sep 17 00:00:00 2001 From: lotte Date: Fri, 27 Mar 2020 10:10:44 +0100 Subject: [PATCH] fixed notification type --- .../notifications/models/notification-options.model.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } }