fixed the filtering of empty warkspaces

fixinganerror
lianahus 1 year ago
parent 6a596a1e88
commit 24e31009bf
  1. 2
      apps/remix-ide/src/app/panels/file-panel.js

@ -189,7 +189,7 @@ module.exports = class Filepanel extends ViewPlugin {
return el === workspaceName
})) {
recents = ([workspaceName, ...recents])
recents.filter((el) => { return el != "" })
recents = recents.filter((el) => { return el != "" })
localStorage.setItem('recentWorkspaces', JSON.stringify(recents))
}
}

Loading…
Cancel
Save