Add get user selector
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

feature/MinimizeSolution
Willem Dantuma 2020-05-04 14:47:04 +02:00
parent 62d5779c75
commit 24eef611d4
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ export const getRootItems = (state: State) => state.rootItems;
export const getFullScreen = (state: State) => state.fullScreen;
export const getRouteLoading = (state: State) => state.routeLoading;
export const getMenuVisible = (state: State) => state.menuVisible;
export const getUser = (state: State) => state.user;
export const selectAppCommonState = createFeatureSelector<State>(MODULE_NAME);
@ -103,4 +104,5 @@ export const selectGetRootItems = createSelector(selectAppCommonState, getRootIt
export const selectGetFullScreen = createSelector(selectAppCommonState, getFullScreen);
export const selectGetRouteLoading = createSelector(selectAppCommonState, getRouteLoading);
export const SelectGetMenuVisible = createSelector(selectAppCommonState,getMenuVisible);
export const SelectGetUser = createSelector(selectAppCommonState,getUser);