converting note properties to methods

This commit is contained in:
zadam
2021-05-18 20:56:49 +02:00
parent 2451596e8c
commit a093508fbe
8 changed files with 18 additions and 13 deletions

View File

@@ -568,7 +568,7 @@ class Note extends AbstractEntity {
return attrs.length > 0 ? attrs[0] : null;
}
isArchived() {
get isArchived() {
return this.hasAttribute('label', 'archived');
}