Skip to content

Commit c52f702

Browse files
committed
Don't confirm fork for owned sandboxes
1 parent cec6282 commit c52f702

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/overmind/namespaces/editor

1 file changed

+1
-0
lines changed

packages/app/src/app/overmind/namespaces/editor/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ export const forkSandboxClicked: AsyncAction = async ({
306306
}) => {
307307
if (
308308
state.editor.currentSandbox.owned &&
309+
!state.editor.currentSandbox.customTemplate &&
309310
!effects.browser.confirm('Do you want to fork your own sandbox?')
310311
) {
311312
return;

0 commit comments

Comments
 (0)