Skip to content

Commit e8a692e

Browse files
committed
fix(copilot): open workflow in current tab
1 parent 6be5374 commit e8a692e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content

apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content/resource-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export function EmbeddedWorkflowActions({
299299
const url = chatId
300300
? `/workspace/${workspaceId}/w/${workflowId}?chatId=${encodeURIComponent(chatId)}`
301301
: `/workspace/${workspaceId}/w/${workflowId}`
302-
window.open(url, '_blank')
302+
router.push(url)
303303
}
304304

305305
return (

0 commit comments

Comments
 (0)