fix FNote.isHiddenCompletely() which returned false for _hidden

This commit is contained in:
zadam 2023-07-15 09:50:07 +02:00
parent ddda4d9867
commit 3d31742285

View File

@ -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;
}