fulltext now ignores archived notes like it used to in the old implementation

This commit is contained in:
zadam
2020-08-20 00:15:08 +02:00
parent d1f70efdb4
commit 52e0f838a9
7 changed files with 42 additions and 17 deletions

View File

@@ -115,7 +115,7 @@ class Note {
}
hasAttribute(type, name) {
return this.attributes.find(attr => attr.type === type && attr.name === name);
return !!this.attributes.find(attr => attr.type === type && attr.name === name);
}
getLabelValue(name) {