yangdx
commited on
Commit
·
3616da0
1
Parent(s):
7e9a4e8
Fix linting
Browse files
lightrag_webui/src/stores/state.ts
CHANGED
@@ -171,13 +171,13 @@ export const useAuthStore = create<AuthState>(set => {
|
|
171 |
if (apiVersion) {
|
172 |
localStorage.setItem('LIGHTRAG-API-VERSION', apiVersion);
|
173 |
}
|
174 |
-
|
175 |
if (webuiTitle) {
|
176 |
localStorage.setItem('LIGHTRAG-WEBUI-TITLE', webuiTitle);
|
177 |
} else {
|
178 |
localStorage.removeItem('LIGHTRAG-WEBUI-TITLE');
|
179 |
}
|
180 |
-
|
181 |
if (webuiDescription) {
|
182 |
localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription);
|
183 |
} else {
|
|
|
171 |
if (apiVersion) {
|
172 |
localStorage.setItem('LIGHTRAG-API-VERSION', apiVersion);
|
173 |
}
|
174 |
+
|
175 |
if (webuiTitle) {
|
176 |
localStorage.setItem('LIGHTRAG-WEBUI-TITLE', webuiTitle);
|
177 |
} else {
|
178 |
localStorage.removeItem('LIGHTRAG-WEBUI-TITLE');
|
179 |
}
|
180 |
+
|
181 |
if (webuiDescription) {
|
182 |
localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription);
|
183 |
} else {
|