share root itself is not shared, fixes #2468

pull/255/head
zadam 2021-12-24 22:43:12 +07:00
parent a789025025
commit b54cfab4ff
1 changed files with 1 additions and 1 deletions

@ -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() {