fix graphics

This commit is contained in:
Andrea Chiapparelli - 4Science
2018-03-05 13:08:29 +01:00
parent 39eeec5385
commit cfcc024bfc

View File

@@ -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)