mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
share root itself is not shared, fixes #2468
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user