mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
_hidden note does not inherit attributes from root, fixes #3537
This commit is contained in:
@@ -250,7 +250,8 @@ class FNote {
|
||||
const newPath = [...path, this.noteId];
|
||||
const attrArrs = [ this.getOwnedAttributes() ];
|
||||
|
||||
if (this.noteId !== 'root') {
|
||||
// inheritable attrs on root are typically not intended to be applied to hidden subtree #3537
|
||||
if (this.noteId !== 'root' && this.noteId !== '_hidden') {
|
||||
for (const parentNote of this.getParentNotes()) {
|
||||
// these virtual parent-child relationships are also loaded into froca
|
||||
if (parentNote.type !== 'search') {
|
||||
|
||||
Reference in New Issue
Block a user