getOwnedAttributes() should not make a copy, consistent with similar methods

This commit is contained in:
zadam 2023-06-27 23:03:17 +02:00
parent 42c8059ae1
commit 85a75fc186

View File

@ -731,7 +731,7 @@ class BNote extends AbstractBeccaEntity {
return this.ownedAttributes.filter(attr => attr.name === name);
}
else {
return this.ownedAttributes.slice();
return this.ownedAttributes;
}
}