From 057d27221a1261115c3fd1443dc83290ab15dec8 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Fri, 16 Feb 2024 15:31:48 +0100 Subject: [PATCH] fix restore deleted note if accessed directly --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index be6a3e7..be44107 100644 --- a/main.js +++ b/main.js @@ -2886,6 +2886,7 @@ function loadnote(title) } var content = localStorage.getItem(guid); var item = metadata[guid]; + delete item.deleted; if (item.header.tags.includes("journal")) {