diff --git a/projects/common/src/fm/reducers/app-common.reducer.ts b/projects/common/src/fm/reducers/app-common.reducer.ts index f8ba4ca..65233d6 100644 --- a/projects/common/src/fm/reducers/app-common.reducer.ts +++ b/projects/common/src/fm/reducers/app-common.reducer.ts @@ -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(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);