From d21bb55800e726f7b90f8e1f0dfb86cb661983bf Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 11 Jul 2026 18:29:00 -0500 Subject: [PATCH] reafc --- cptr/frontend/src/routes/+page.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/cptr/frontend/src/routes/+page.svelte b/cptr/frontend/src/routes/+page.svelte index de29a16..ae76081 100644 --- a/cptr/frontend/src/routes/+page.svelte +++ b/cptr/frontend/src/routes/+page.svelte @@ -163,6 +163,7 @@ ? (tabs[Math.max(0, index - 1)]?.id ?? 'home') : group.activeTabId; updateHomeTabs(groupId, () => ({ tabs, activeTabId })); + if (!tabs.length) closeHomeGroup(groupId); } function updateHomeChatTab(