mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix FNote.isHiddenCompletely() which returned false for _hidden
This commit is contained in:
parent
ddda4d9867
commit
3d31742285
@ -385,7 +385,9 @@ class FNote {
|
||||
* @return boolean - true if there's no non-hidden path, note is not cloned to the visible tree
|
||||
*/
|
||||
isHiddenCompletely() {
|
||||
if (this.noteId === 'root') {
|
||||
if (this.noteId === '_hidden') {
|
||||
return true;
|
||||
} else if (this.noteId === 'root') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user