This commit is contained in:
zadam
2020-01-26 10:42:24 +01:00
parent 3f0974d3d2
commit 97a35d6fba
3 changed files with 32 additions and 8 deletions

View File

@@ -88,12 +88,6 @@ class AttributesWidget extends StandardWidget {
}
}
toggle(show) {
console.trace("attributes toggle", show);
super.toggle(show);
}
syncDataListener({data}) {
if (data.find(sd => sd.entityName === 'attributes' && sd.noteId === this.tabContext.note.noteId)) {
// no need to invalidate attributes since the Attribute class listens to this as well

View File

@@ -533,7 +533,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
}
}
syncDataListener({data}) {
syncDataListener({data}) {return;
const noteIdsToRefresh = new Set();
// this has the problem that the former parentNoteId might not be invalidated