ui: patch 1.21 session search
This commit is contained in:
parent
502e1135f1
commit
ec27fa2250
2 changed files with 2 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@ export default class SessionStore {
|
|||
}
|
||||
|
||||
fetchSessions = async (params = {}, force = false) => {
|
||||
if (this.loadingSessions) return;
|
||||
runInAction(() => {
|
||||
this.loadingSessions = true;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue