diff --git a/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx b/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx index f818a83eb..072c2299c 100644 --- a/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx +++ b/frontend/app/components/shared/SessionsTabOverview/components/SessionList/SessionList.tsx @@ -51,7 +51,7 @@ function SessionList() { useEffect(() => { if (!searchStore.urlParsed) return; void searchStore.fetchSessions(true, isBookmark); - }, [location.pathname]); + }, [searchStore.urlParsed]); const NO_CONTENT = React.useMemo(() => { diff --git a/frontend/app/mstore/sessionStore.ts b/frontend/app/mstore/sessionStore.ts index 95d92f00d..eac5fd685 100644 --- a/frontend/app/mstore/sessionStore.ts +++ b/frontend/app/mstore/sessionStore.ts @@ -223,6 +223,7 @@ export default class SessionStore { } fetchSessions = async (params = {}, force = false) => { + if (this.loadingSessions) return; runInAction(() => { this.loadingSessions = true; })