Close menu on navigation
This commit is contained in:
		| @@ -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 }) |   @Effect({ dispatch: false }) | ||||||
|   fail$: Observable<Action> = this.actions$.pipe( |   fail$: Observable<Action> = this.actions$.pipe( | ||||||
|     ofType(appCommonActions.FAIL), |     ofType(appCommonActions.FAIL), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user