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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user