AW-5036 404../api/v1/items/xxx:USER_SETTINGS (new environ)
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:
@@ -85,9 +85,8 @@ export class AppCommonEffects {
|
||||
|
||||
initUserSettingsRoot$ = createEffect(() => this.actions$.pipe(
|
||||
ofType(appCommonActions.INITUSERSETTINGSROOT),
|
||||
withLatestFrom(this.store$.select(appCommonReducers.SelectGetUser)),
|
||||
switchMap(([, user]) => {
|
||||
return this.itemService$.getItem(user.code + ':USER_SETTINGS').pipe(
|
||||
switchMap(_ => {
|
||||
return this.folderService$.getFolder('my_settings').pipe(
|
||||
switchMap((item) => of(new appCommonActions.InitUserSettingsRootSuccess(item))),
|
||||
catchError(error => of(new appCommonActions.Fail(error)))
|
||||
)
|
||||
|
Reference in New Issue
Block a user