mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
getOwnedAttributes() should not make a copy, consistent with similar methods
This commit is contained in:
parent
42c8059ae1
commit
85a75fc186
@ -731,7 +731,7 @@ class BNote extends AbstractBeccaEntity {
|
||||
return this.ownedAttributes.filter(attr => attr.name === name);
|
||||
}
|
||||
else {
|
||||
return this.ownedAttributes.slice();
|
||||
return this.ownedAttributes;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user