mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
proper handling of deleted notes
This commit is contained in:
@@ -70,6 +70,10 @@ function mouseLeaveHandler() {
|
||||
}
|
||||
|
||||
async function renderTooltip(note, noteComplement) {
|
||||
if (note.isDeleted) {
|
||||
return '<div>Note has been deleted.</div>';
|
||||
}
|
||||
|
||||
const attributes = await note.getAttributes();
|
||||
|
||||
let content = '';
|
||||
|
||||
Reference in New Issue
Block a user