From 26a8fb5c5158c54e6a1320d5bad5e8d9cb484a79 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 26 Mar 2026 22:24:37 -0400 Subject: [PATCH] fix: load API keys and MCP info on mount when tab is pre-selected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fetchApiKeys() and loadMcpInfo() were only wired to the activeTab watcher, which fires on changes but not on initial mount. If localStorage had 'apikeys' as the last tab, both calls were skipped entirely — causing an empty key list and no whl download button. --- frontend/src/views/SettingsView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/SettingsView.vue b/frontend/src/views/SettingsView.vue index 0b011e3..1245690 100644 --- a/frontend/src/views/SettingsView.vue +++ b/frontend/src/views/SettingsView.vue @@ -524,6 +524,7 @@ onMounted(async () => { if (activeTab.value === "groups") loadGroupsPanel(); if (activeTab.value === "briefing") loadBriefingTab(); } + if (activeTab.value === "apikeys") { fetchApiKeys(); loadMcpInfo(); } }); async function changeEmail() {