diff options
author | Johannes Maas <github@j-maas.de> | 2023-10-03 20:16:49 +0200 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2023-10-16 10:16:20 +0200 |
commit | 00de88b6972701c1cf1bd2c21452c407b85bb155 (patch) | |
tree | 08f0c33e59c7221e5da444c33b847097da2239ee | |
parent | 38db5d0decc4cf22969207beb0b7c40fa651e154 (diff) |
Split up composed property name when checking isMultiple()
Original fix by @j-maas.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r-- | src/components/ContactDetails/ContactDetailsProperty.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ContactDetails/ContactDetailsProperty.vue b/src/components/ContactDetails/ContactDetailsProperty.vue index 353319bd..d0e1ec4f 100644 --- a/src/components/ContactDetails/ContactDetailsProperty.vue +++ b/src/components/ContactDetails/ContactDetailsProperty.vue @@ -133,7 +133,8 @@ export default { * @return {boolean} */ isMultiple() { - return this.properties[this.property.name].multiple + // Make sure we have some model for the property and check for ITEM.PROP custom label format + return this.propModel.multiple }, /** |