summaryrefslogtreecommitdiffstats
path: root/src/components/ContactDetails/ContactDetailsProperty.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ContactDetails/ContactDetailsProperty.vue')
-rw-r--r--src/components/ContactDetails/ContactDetailsProperty.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/ContactDetails/ContactDetailsProperty.vue b/src/components/ContactDetails/ContactDetailsProperty.vue
index fa547d40..dd352517 100644
--- a/src/components/ContactDetails/ContactDetailsProperty.vue
+++ b/src/components/ContactDetails/ContactDetailsProperty.vue
@@ -24,8 +24,8 @@
<!-- If not in the rfcProps then we don't want to display it -->
<component v-if="propModel && propType !== 'unknown'" :is="componentInstance" :select-type.sync="selectType"
:prop-model="propModel" :value.sync="value" :is-first-property="isFirstProperty"
- :is-last-property="isLastProperty" :class="{'property--last': isLastProperty}" :contact="contact"
- @delete="deleteProp" />
+ :property="property" :is-last-property="isLastProperty" :class="{'property--last': isLastProperty}"
+ :contact="contact" @delete="deleteProp" />
</template>
<script>
@@ -185,8 +185,9 @@ export default {
this.property.isStructuredValue
? this.property.setValues([data])
: this.property.setValues(data)
+ } else {
+ this.property.setValue(data)
}
- this.property.setValue(data)
this.$emit('updatedcontact')
}
},