mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-08 22:09:52 -06: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