diff --git a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-session-history/create-session-history.component.ts b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-session-history/create-session-history.component.ts index c902341bc..1514b6d79 100644 --- a/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-session-history/create-session-history.component.ts +++ b/frontend/src/app/sessions/user-sessions-wrapper/create-sessions/create-session-history/create-session-history.component.ts @@ -72,7 +72,7 @@ export class CreateSessionHistoryComponent implements OnInit, OnDestroy { loadLastSessions() { this.toolService._tools.pipe(filter(Boolean), take(1)).subscribe(() => { this.sessionHistoryService.sessionHistory - .pipe(filter(Boolean)) + .pipe(filter(Boolean), take(1)) .subscribe((sessions) => { this.resolvedHistory = []; this.sessionsToBeLoaded = sessions.length;