summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Maas <github@j-maas.de>2023-10-03 20:16:49 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2023-10-16 10:16:20 +0200
commit00de88b6972701c1cf1bd2c21452c407b85bb155 (patch)
tree08f0c33e59c7221e5da444c33b847097da2239ee
parent38db5d0decc4cf22969207beb0b7c40fa651e154 (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.vue3
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
},
/**