fixed the filtering of empty warkspaces

pull/5370/head
lianahus 1 year ago
parent f8bb581c19
commit 9137a4f08f
  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