fix: load API keys and MCP info on mount when tab is pre-selected

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.
This commit is contained in:
2026-03-26 22:24:37 -04:00
parent 916cfa50df
commit 26a8fb5c51
+1
View File
@@ -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() {