Compare commits

..

2 Commits

Author SHA1 Message Date
Willem Dantuma
252e920848 Merge branch 'develop' of https://git.akkerweb.nl/FarmMaps/FarmMapsLib into develop
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
2020-01-27 17:01:39 +01:00
Willem Dantuma
77e4093d14 Close menu on navigation 2020-01-27 17:01:35 +01:00

View File

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