Update web assets

This commit is contained in:
yangdx
2025-03-19 13:52:38 +08:00
parent 61734313b2
commit ffaa3493bd
7 changed files with 94 additions and 94 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,8 +8,8 @@
<link rel="icon" type="image/svg+xml" href="logo.png" /> <link rel="icon" type="image/svg+xml" href="logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lightrag</title> <title>Lightrag</title>
<script type="module" crossorigin src="/webui/assets/index-CMFGmyjk.js"></script> <script type="module" crossorigin src="/webui/assets/index-2hkBlf8a.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-mPRIIErN.css"> <link rel="stylesheet" crossorigin href="/webui/assets/index-BE_O4IWQ.css">
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

View File

@@ -121,7 +121,7 @@ const GraphViewer = () => {
// All dynamic settings will be updated in GraphControl using useSetSettings // All dynamic settings will be updated in GraphControl using useSetSettings
useEffect(() => { useEffect(() => {
setSigmaSettings(defaultSigmaSettings) setSigmaSettings(defaultSigmaSettings)
console.log('Initialized sigma settings') console.log('Initialized sigma settings')
}, []) }, [])
// Clean up sigma instance when component unmounts // Clean up sigma instance when component unmounts

View File

@@ -188,7 +188,7 @@ const useLightrangeGraph = () => {
const isFetching = useGraphStore.use.isFetching() const isFetching = useGraphStore.use.isFetching()
const nodeToExpand = useGraphStore.use.nodeToExpand() const nodeToExpand = useGraphStore.use.nodeToExpand()
const nodeToPrune = useGraphStore.use.nodeToPrune() const nodeToPrune = useGraphStore.use.nodeToPrune()
// Track previous parameters to detect actual changes // Track previous parameters to detect actual changes
const prevParamsRef = useRef({ queryLabel, maxQueryDepth, minDegree }) const prevParamsRef = useRef({ queryLabel, maxQueryDepth, minDegree })

View File

@@ -64,7 +64,7 @@ class NavigationService {
this.resetAllApplicationState(); this.resetAllApplicationState();
useAuthStore.getState().logout(); useAuthStore.getState().logout();
if (this.navigate) { if (this.navigate) {
this.navigate('/login'); this.navigate('/login');
} }