diff --git a/lightrag_webui/src/components/graph/GraphLabels.tsx b/lightrag_webui/src/components/graph/GraphLabels.tsx index f8401238..1a1e428b 100644 --- a/lightrag_webui/src/components/graph/GraphLabels.tsx +++ b/lightrag_webui/src/components/graph/GraphLabels.tsx @@ -49,7 +49,7 @@ const GraphLabels = () => { ? result : [...result.slice(0, labelListLimit), '...'] }, - [getSearchEngine, t] + [getSearchEngine] ) return ( @@ -68,7 +68,7 @@ const GraphLabels = () => { value={label !== null ? label : '*'} onChange={(newLabel) => { const currentLabel = useSettingsStore.getState().queryLabel - + if (newLabel === '...') { newLabel = '*' } diff --git a/lightrag_webui/src/features/GraphViewer.tsx b/lightrag_webui/src/features/GraphViewer.tsx index aab10c1a..4b8e30c7 100644 --- a/lightrag_webui/src/features/GraphViewer.tsx +++ b/lightrag_webui/src/features/GraphViewer.tsx @@ -149,8 +149,8 @@ const GraphViewer = () => { ) return ( - diff --git a/lightrag_webui/src/hooks/useLightragGraph.tsx b/lightrag_webui/src/hooks/useLightragGraph.tsx index a8c43434..dc3294cf 100644 --- a/lightrag_webui/src/hooks/useLightragGraph.tsx +++ b/lightrag_webui/src/hooks/useLightragGraph.tsx @@ -222,7 +222,7 @@ const useLightrangeGraph = () => { state.sigmaGraph?.setNodeAttribute(node, 'highlighted', false); }); } - + state.setIsFetching(true); fetchStatusRef.current[fetchKey] = true; fetchGraph(queryLabel, maxQueryDepth, minDegree).then((data) => {