pull/2639/head
Aniket-Engg 3 years ago committed by Aniket
parent af7de69487
commit dee7a7cbd5
  1. 1
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -246,6 +246,7 @@ export const switchToWorkspace = async (name: string) => {
plugin.emit('setWorkspace', { name: null, isLocalhost: true })
} else if (name === NO_WORKSPACE) {
// if there is no other workspace, create remix default workspace
plugin.call('notification', 'toast', `No workspace found! Creating default workspace ....`)
await createWorkspace('default_workspace', 'remixDefault')
} else {
const isActive = await plugin.call('manager', 'isActive', 'remixd')

Loading…
Cancel
Save