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