Skip to content
Snippets Groups Projects
Commit cfcc024b authored by Andrea Chiapparelli - 4Science's avatar Andrea Chiapparelli - 4Science
Browse files

fix graphics

parent 39eeec53
No related merge requests found
...@@ -24,10 +24,11 @@ export class NotificationsEffects { ...@@ -24,10 +24,11 @@ export class NotificationsEffects {
* Authenticate user. * Authenticate user.
* @method authenticate * @method authenticate
*/ */
/*@Effect() @Effect()
public timer: Observable<Action> = this.actions$ public timer: Observable<Action> = this.actions$
.ofType(NotificationsActionTypes.NEW_NOTIFICATION_WITH_TIMER) .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()); .map(() => new RemoveNotificationAction());
.switchMap((action: NewNotificationWithTimerAction) => Observable .switchMap((action: NewNotificationWithTimerAction) => Observable
.timer(30000) .timer(30000)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment