From 9137a4f08f18ea1909d65debeb94e3a91ba9ca85 Mon Sep 17 00:00:00 2001 From: lianahus Date: Fri, 20 Oct 2023 16:21:59 +0200 Subject: [PATCH] fixed the filtering of empty warkspaces --- apps/remix-ide/src/app/panels/file-panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/panels/file-panel.js b/apps/remix-ide/src/app/panels/file-panel.js index 3b03cd4c25..7b813aea1c 100644 --- a/apps/remix-ide/src/app/panels/file-panel.js +++ b/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)) } }