From b54cfab4ffcef88d55012c250f7050115e1c36a6 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 24 Dec 2021 22:43:12 +0100 Subject: [PATCH] share root itself is not shared, fixes #2468 --- src/public/app/widgets/shared_info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/shared_info.js b/src/public/app/widgets/shared_info.js index 143a083be..d0aef4b20 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() {