Focus request/folder after creation

This commit is contained in:
Gregory Schier
2025-11-11 14:11:43 -08:00
parent 8164a61376
commit 7b6278405c
19 changed files with 138 additions and 86 deletions

View File

@@ -13,7 +13,7 @@ export async function duplicateRequestOrFolderAndNavigate(
const newId = await duplicateModel(model);
const workspaceId = jotaiStore.get(activeWorkspaceIdAtom);
if (workspaceId == null) return;
if (workspaceId == null || model.model === 'folder') return;
navigateToRequestOrFolderOrWorkspace(newId, model.model);
}