diff --git a/authority-portal-frontend/src/app/pages/control-center-user-profile-page/state/control-center-user-profile-page-state-impl.ts b/authority-portal-frontend/src/app/pages/control-center-user-profile-page/state/control-center-user-profile-page-state-impl.ts index 90912292..332957c9 100644 --- a/authority-portal-frontend/src/app/pages/control-center-user-profile-page/state/control-center-user-profile-page-state-impl.ts +++ b/authority-portal-frontend/src/app/pages/control-center-user-profile-page/state/control-center-user-profile-page-state-impl.ts @@ -49,7 +49,7 @@ export class ControlCenterUserProfilePageStateImpl { @Action(Reset) onReset(ctx: Ctx, action: Reset): Observable { return this.globalStateUtils.userInfo$.pipe( - take(5), + take(6), switchMap((userInfo) => this.apiService.getUserDetailDto(userInfo.userId), ),