fix restore deleted note if accessed directly
This commit is contained in:
parent
d767f80874
commit
057d27221a
1
main.js
1
main.js
|
@ -2886,6 +2886,7 @@ function loadnote(title)
|
||||||
}
|
}
|
||||||
var content = localStorage.getItem(guid);
|
var content = localStorage.getItem(guid);
|
||||||
var item = metadata[guid];
|
var item = metadata[guid];
|
||||||
|
delete item.deleted;
|
||||||
|
|
||||||
if (item.header.tags.includes("journal"))
|
if (item.header.tags.includes("journal"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue