small attribute optimizations

This commit is contained in:
zadam
2023-01-27 08:46:04 +01:00
parent ad887c4b12
commit 2b4dfaef7f
3 changed files with 34 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ function isNotePathArchived(notePath) {
const note = becca.notes[notePath[i]];
// this is going through parents so archived must be inheritable
if (note.hasInheritableOwnedArchivedLabel()) {
if (note.hasInheritableArchivedLabel()) {
return true;
}
}