Close menu on navigation
This commit is contained in:
parent
af1a54ae07
commit
77e4093d14
@ -101,6 +101,14 @@ export class AppCommonEffects {
|
||||
}
|
||||
));
|
||||
|
||||
@Effect()
|
||||
closeMenuOnRouting$:Observable<Action> = this.actions$.pipe(
|
||||
ofType(appCommonActions.STARTROUTELOADING),
|
||||
switchMap((action) => {
|
||||
return of(new appCommonActions.SetMenuVisible(false));
|
||||
}
|
||||
));
|
||||
|
||||
@Effect({ dispatch: false })
|
||||
fail$: Observable<Action> = this.actions$.pipe(
|
||||
ofType(appCommonActions.FAIL),
|
||||
|
Loading…
Reference in New Issue
Block a user