yangdx
commited on
Commit
·
6a2df45
1
Parent(s):
6b73e43
Update web assets
Browse files- lightrag/api/webui/assets/{index-CMFGmyjk.js → index-2hkBlf8a.js} +0 -0
- lightrag/api/webui/assets/index-BE_O4IWQ.css +0 -0
- lightrag/api/webui/assets/index-mPRIIErN.css +0 -0
- lightrag/api/webui/index.html +0 -0
- lightrag_webui/src/features/GraphViewer.tsx +1 -1
- lightrag_webui/src/hooks/useLightragGraph.tsx +1 -1
- lightrag_webui/src/services/navigation.ts +1 -1
lightrag/api/webui/assets/{index-CMFGmyjk.js → index-2hkBlf8a.js}
RENAMED
Binary files a/lightrag/api/webui/assets/index-CMFGmyjk.js and b/lightrag/api/webui/assets/index-2hkBlf8a.js differ
|
|
lightrag/api/webui/assets/index-BE_O4IWQ.css
ADDED
Binary file (52.6 kB). View file
|
|
lightrag/api/webui/assets/index-mPRIIErN.css
DELETED
Binary file (52.6 kB)
|
|
lightrag/api/webui/index.html
CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
|
|
lightrag_webui/src/features/GraphViewer.tsx
CHANGED
@@ -121,7 +121,7 @@ const GraphViewer = () => {
|
|
121 |
// All dynamic settings will be updated in GraphControl using useSetSettings
|
122 |
useEffect(() => {
|
123 |
setSigmaSettings(defaultSigmaSettings)
|
124 |
-
console.log('Initialized sigma settings')
|
125 |
}, [])
|
126 |
|
127 |
// Clean up sigma instance when component unmounts
|
|
|
121 |
// All dynamic settings will be updated in GraphControl using useSetSettings
|
122 |
useEffect(() => {
|
123 |
setSigmaSettings(defaultSigmaSettings)
|
124 |
+
console.log('Initialized sigma settings')
|
125 |
}, [])
|
126 |
|
127 |
// Clean up sigma instance when component unmounts
|
lightrag_webui/src/hooks/useLightragGraph.tsx
CHANGED
@@ -188,7 +188,7 @@ const useLightrangeGraph = () => {
|
|
188 |
const isFetching = useGraphStore.use.isFetching()
|
189 |
const nodeToExpand = useGraphStore.use.nodeToExpand()
|
190 |
const nodeToPrune = useGraphStore.use.nodeToPrune()
|
191 |
-
|
192 |
// Track previous parameters to detect actual changes
|
193 |
const prevParamsRef = useRef({ queryLabel, maxQueryDepth, minDegree })
|
194 |
|
|
|
188 |
const isFetching = useGraphStore.use.isFetching()
|
189 |
const nodeToExpand = useGraphStore.use.nodeToExpand()
|
190 |
const nodeToPrune = useGraphStore.use.nodeToPrune()
|
191 |
+
|
192 |
// Track previous parameters to detect actual changes
|
193 |
const prevParamsRef = useRef({ queryLabel, maxQueryDepth, minDegree })
|
194 |
|
lightrag_webui/src/services/navigation.ts
CHANGED
@@ -64,7 +64,7 @@ class NavigationService {
|
|
64 |
|
65 |
this.resetAllApplicationState();
|
66 |
useAuthStore.getState().logout();
|
67 |
-
|
68 |
if (this.navigate) {
|
69 |
this.navigate('/login');
|
70 |
}
|
|
|
64 |
|
65 |
this.resetAllApplicationState();
|
66 |
useAuthStore.getState().logout();
|
67 |
+
|
68 |
if (this.navigate) {
|
69 |
this.navigate('/login');
|
70 |
}
|