add symbol to shared notes in the tree

This commit is contained in:
zadam
2021-12-22 15:01:54 +01:00
parent bc9903191e
commit 94e18dfb7c
4 changed files with 32 additions and 2 deletions

View File

@@ -50,5 +50,8 @@ export default class SharedInfoWidget extends NoteContextAwareWidget {
if (loadResults.getAttributes().find(attr => attr.name.startsWith("share") && attributeService.isAffecting(attr, this.note))) {
this.refresh();
}
else if (loadResults.getBranches().find(branch => branch.noteId === this.noteId)) {
this.refresh();
}
}
}