mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-10 11:13:48 +02:00
Focus request/folder after creation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user