From cfcc024bfcae3a8031cd91545a0cfaf13dc72914 Mon Sep 17 00:00:00 2001
From: Andrea Chiapparelli - 4Science <andrea.chiapparelli@gmail.com>
Date: Mon, 5 Mar 2018 13:08:29 +0100
Subject: [PATCH] fix graphics

---
 src/app/shared/notifications/notifications.effects.ts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/shared/notifications/notifications.effects.ts b/src/app/shared/notifications/notifications.effects.ts
index fe6637b561..b8b9fca4d2 100644
--- a/src/app/shared/notifications/notifications.effects.ts
+++ b/src/app/shared/notifications/notifications.effects.ts
@@ -24,10 +24,11 @@ export class NotificationsEffects {
    * Authenticate user.
    * @method authenticate
    */
-  /*@Effect()
+  @Effect()
   public timer: Observable<Action> = this.actions$
     .ofType(NotificationsActionTypes.NEW_NOTIFICATION_WITH_TIMER)
-    .debounceTime((action) => action.payload.options.timeOut as number)
+    // .debounceTime((action: any) => action.payload.options.timeOut)
+    .debounceTime(3000)
     .map(() => new RemoveNotificationAction());
      .switchMap((action: NewNotificationWithTimerAction) => Observable
       .timer(30000)
-- 
GitLab