Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.jsindex 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() {