Skip to content

Commit

Permalink
fix using take(5)
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Oct 25, 2024
1 parent 4d75349 commit 20c4760
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class ControlCenterUserProfilePageStateImpl {
@Action(Reset)
onReset(ctx: Ctx, action: Reset): Observable<never> {
return this.globalStateUtils.userInfo$.pipe(
take(2),
take(5),
switchMap((userInfo) =>
this.apiService.getUserDetailDto(userInfo.userId),
),
Expand Down

0 comments on commit 20c4760

Please sign in to comment.