Update file-panel.js

pull/3578/head
bunsenstraat 2 years ago committed by Aniket
parent 8865dd8a97
commit 7943f143b1
  1. 2
      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) {

Loading…
Cancel
Save