share root itself is not shared, fixes #2468

This commit is contained in:
zadam 2021-12-24 22:43:12 +01:00
parent a789025025
commit b54cfab4ff

View file

@ -18,7 +18,7 @@ const TPL = `
export default class SharedInfoWidget extends NoteContextAwareWidget {
isEnabled() {
return super.isEnabled() && this.note.hasAncestor('share');
return super.isEnabled() && this.noteId !== 'share' && this.note.hasAncestor('share');
}
doRender() {