fix broken what links here widget

This commit is contained in:
zadam
2020-09-05 22:45:26 +02:00
parent 6d095b7250
commit 874972a3d3
4 changed files with 15 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ class TreeCache {
const note = this.notes[attributeRow.noteId];
if (!note.attributes.includes(attributeId)) {
if (note && !note.attributes.includes(attributeId)) {
note.attributes.push(attributeId);
}