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