@ -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) {