Add get user selector
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
62d5779c75
commit
24eef611d4
@ -92,6 +92,7 @@ export const getRootItems = (state: State) => state.rootItems;
|
|||||||
export const getFullScreen = (state: State) => state.fullScreen;
|
export const getFullScreen = (state: State) => state.fullScreen;
|
||||||
export const getRouteLoading = (state: State) => state.routeLoading;
|
export const getRouteLoading = (state: State) => state.routeLoading;
|
||||||
export const getMenuVisible = (state: State) => state.menuVisible;
|
export const getMenuVisible = (state: State) => state.menuVisible;
|
||||||
|
export const getUser = (state: State) => state.user;
|
||||||
|
|
||||||
|
|
||||||
export const selectAppCommonState = createFeatureSelector<State>(MODULE_NAME);
|
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 selectGetFullScreen = createSelector(selectAppCommonState, getFullScreen);
|
||||||
export const selectGetRouteLoading = createSelector(selectAppCommonState, getRouteLoading);
|
export const selectGetRouteLoading = createSelector(selectAppCommonState, getRouteLoading);
|
||||||
export const SelectGetMenuVisible = createSelector(selectAppCommonState,getMenuVisible);
|
export const SelectGetMenuVisible = createSelector(selectAppCommonState,getMenuVisible);
|
||||||
|
export const SelectGetUser = createSelector(selectAppCommonState,getUser);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user