Skip to content

Commit 29fbcbd

Browse files
committed
fix summary settings tab not getting latest llm config status
1 parent 978932e commit 29fbcbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/frontend/src/pages/Settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ export function Settings() {
3535
if (cfg && cfg.is_active) {
3636
setLlmConfigured(true);
3737
}
38-
} catch (e) {
38+
} catch {
3939
setLlmConfigured(false);
4040
}
4141
};
4242
fetchLLM();
43-
}, []);
43+
}, [activeTab, getAuthHeaders]);
4444

4545

4646
// Dummy function for file select (Settings page doesn't upload files)

0 commit comments

Comments
 (0)