diff --git a/apps/remix-ide/src/app/panels/file-panel.js b/apps/remix-ide/src/app/panels/file-panel.js index fce1966257..ccd9e4cec7 100644 --- a/apps/remix-ide/src/app/panels/file-panel.js +++ b/apps/remix-ide/src/app/panels/file-panel.js @@ -95,7 +95,7 @@ module.exports = class Filepanel extends ViewPlugin { } getAvailableWorkspaceName (name) { - if(!this.workspaces) return null + if(!this.workspaces) return name let index = 1 let workspace = this.workspaces.find(workspace => workspace.name === name + ' - ' + index) while (workspace) {