mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
renamed outstanding attribute references to labels
This commit is contained in:
@@ -58,8 +58,8 @@ class Note extends Entity {
|
||||
async getLabelMap() {
|
||||
const map = {};
|
||||
|
||||
for (const attr of await this.getLabels()) {
|
||||
map[attr.name] = attr.value;
|
||||
for (const label of await this.getLabels()) {
|
||||
map[label.name] = label.value;
|
||||
}
|
||||
|
||||
return map;
|
||||
|
||||
Reference in New Issue
Block a user