ui: patch 1.21 session search

This commit is contained in:
nick-delirium 2025-04-17 13:06:20 +02:00 committed by rjshrjndrn
parent 502e1135f1
commit ec27fa2250
2 changed files with 2 additions and 1 deletions

View file

@ -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(() => {

View file

@ -223,6 +223,7 @@ export default class SessionStore {
}
fetchSessions = async (params = {}, force = false) => {
if (this.loadingSessions) return;
runInAction(() => {
this.loadingSessions = true;
})