diff --git a/src/App.svelte b/src/App.svelte index 70d5ca1..3cc760a 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1697,6 +1697,7 @@ async function switchWorkspace(id: string) { if (isBusy || id === workspaceState.selectedId) return; + const keepDashboard = activeView === "management"; persistWorkspaces(); repoOpenRequestId += 1; closeRepoTabContextMenu(); @@ -1706,7 +1707,7 @@ repoTabs = session.openPaths.map(path => repoRowFromPath(path)); activeView = "management"; persistRepoLists(); - if (session.activePath) await openRepo(session.activePath); + if (!keepDashboard && session.activePath) await openRepo(session.activePath); } async function saveWorkspace(id: string, name: string, repositories: string[]) {