mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
fix graphics
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user