yangdx commited on
Commit
1bd15bc
·
1 Parent(s): 06b9891

Fix graph data reloading problem after login token expired

Browse files
lightrag_webui/src/services/navigation.ts CHANGED
@@ -27,6 +27,7 @@ class NavigationService {
27
  graphStore.setGraphDataFetchAttempted(false);
28
  graphStore.setLabelsFetchAttempted(false);
29
  graphStore.setSigmaInstance(null);
 
30
 
31
  // Reset backend state
32
  useBackendState.getState().clear();
 
27
  graphStore.setGraphDataFetchAttempted(false);
28
  graphStore.setLabelsFetchAttempted(false);
29
  graphStore.setSigmaInstance(null);
30
+ graphStore.setIsFetching(false); // Reset isFetching state to prevent data loading issues
31
 
32
  // Reset backend state
33
  useBackendState.getState().clear();