fix restore deleted note if accessed directly
This commit is contained in:
parent
d767f80874
commit
057d27221a
1 changed files with 1 additions and 0 deletions
1
main.js
1
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"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue