From 5e22e034e9d0e52937622693854b14a3f7eaccf5 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 20 Mar 2025 01:17:59 +0800 Subject: [PATCH] Fix linting --- lightrag_webui/src/components/graph/GraphLabels.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/components/graph/GraphLabels.tsx b/lightrag_webui/src/components/graph/GraphLabels.tsx index 7fe26cf5..305f63bd 100644 --- a/lightrag_webui/src/components/graph/GraphLabels.tsx +++ b/lightrag_webui/src/components/graph/GraphLabels.tsx @@ -95,10 +95,10 @@ const GraphLabels = () => { const handleRefresh = useCallback(() => { // Reset labels fetch status to allow fetching labels again useGraphStore.getState().setLabelsFetchAttempted(false) - + // Reset graph data fetch status directly, not depending on allDatabaseLabels changes useGraphStore.getState().setGraphDataFetchAttempted(false) - + // Fetch all labels again useGraphStore.getState().fetchAllDatabaseLabels() .then(() => {