Skip to content

Build your personal knowledge base with Trilium Notes

share root itself is not shared, fixes #2468

zadamb54cfab4ffce
diff --git a/src/public/app/widgets/shared_info.js b/src/public/app/widgets/shared_info.js
index 143a083be1..d0aef4b200 100644
--- a/src/public/app/widgets/shared_info.js
+++ b/src/public/app/widgets/shared_info.js
@@ -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() {