mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
share root itself is not shared, fixes #2468
This commit is contained in:
parent
a789025025
commit
b54cfab4ff
@ -18,7 +18,7 @@ const TPL = `
|
|||||||
|
|
||||||
export default class SharedInfoWidget extends NoteContextAwareWidget {
|
export default class SharedInfoWidget extends NoteContextAwareWidget {
|
||||||
isEnabled() {
|
isEnabled() {
|
||||||
return super.isEnabled() && this.note.hasAncestor('share');
|
return super.isEnabled() && this.noteId !== 'share' && this.note.hasAncestor('share');
|
||||||
}
|
}
|
||||||
|
|
||||||
doRender() {
|
doRender() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user