From a97692e87b694a3a43805acbc857f59d106f9f7d Mon Sep 17 00:00:00 2001 From: illfixit <66363651+illfixit@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:40:38 +0200 Subject: [PATCH] fix using take(6) --- .../state/control-center-user-profile-page-state-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), ),