fix restore deleted note if accessed directly

This commit is contained in:
quenousimporte 2024-02-16 15:31:48 +01:00
parent d767f80874
commit 057d27221a
1 changed files with 1 additions and 0 deletions

View File

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