mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
add back .isDeleted property to becca's note, branch and attribute entities for BC, fixes #2268
This commit is contained in:
@@ -147,7 +147,7 @@ function updateNoteAttributes(req) {
|
||||
if (incAttr.type === 'relation') {
|
||||
const targetNote = becca.getNote(incAttr.value);
|
||||
|
||||
if (!targetNote || targetNote.isDeleted) {
|
||||
if (!targetNote) {
|
||||
log.error(`Target note of relation ${JSON.stringify(incAttr)} does not exist or is deleted`);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user