mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 11:39:37 +08:00
share root itself is not shared, fixes #2468
This commit is contained in:
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() {
|
||||
|
|
Loading…
Reference in a new issue