yangdx
commited on
Commit
·
83ba881
1
Parent(s):
98c48d2
Fix linting
Browse files
lightrag_webui/src/stores/state.ts
CHANGED
@@ -49,7 +49,7 @@ const useBackendStateStoreBase = create<BackendState>()((set) => ({
|
|
49 |
health.api_version || null
|
50 |
);
|
51 |
}
|
52 |
-
|
53 |
// Update custom title information if health check returns it
|
54 |
if (health.webui_title || health.webui_description) {
|
55 |
useAuthStore.getState().setCustomTitle(
|
@@ -232,7 +232,7 @@ export const useAuthStore = create<AuthState>(set => {
|
|
232 |
} else {
|
233 |
localStorage.removeItem('LIGHTRAG-WEBUI-TITLE');
|
234 |
}
|
235 |
-
|
236 |
if (webuiDescription) {
|
237 |
localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription);
|
238 |
} else {
|
|
|
49 |
health.api_version || null
|
50 |
);
|
51 |
}
|
52 |
+
|
53 |
// Update custom title information if health check returns it
|
54 |
if (health.webui_title || health.webui_description) {
|
55 |
useAuthStore.getState().setCustomTitle(
|
|
|
232 |
} else {
|
233 |
localStorage.removeItem('LIGHTRAG-WEBUI-TITLE');
|
234 |
}
|
235 |
+
|
236 |
if (webuiDescription) {
|
237 |
localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription);
|
238 |
} else {
|