mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
converting note properties to methods
This commit is contained in:
@@ -568,7 +568,7 @@ class Note extends AbstractEntity {
|
||||
return attrs.length > 0 ? attrs[0] : null;
|
||||
}
|
||||
|
||||
isArchived() {
|
||||
get isArchived() {
|
||||
return this.hasAttribute('label', 'archived');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user