diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue index 28f74818a..ddda65f35 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue @@ -1,13 +1,14 @@ + {{ item.result.profession.name.fr }} - {{ item.result.text }} + {{ item.result.text }} - {{ getAddress.text }} - - {{ getAddress.postcode.name }} + {{ getAddress.text }} - + {{ getAddress.postcode.name }} @@ -19,15 +20,15 @@ - - - - + + + + @@ -48,54 +49,59 @@ const i18n = { }; export default { - name: 'SuggestionThirdParty', - components: { - OnTheFly, - BadgeEntity - }, - props: ['item'], - i18n, - computed: { - hasAddress() { - if (this.$props.item.result.address !== null) { - return true; - } - if (this.$props.item.result.parent !== null) { - this.$props.item.result.parent.address !== null; - } - }, - hasParent() { - return this.$props.item.result.parent !== null; - }, - getAddress() { - if (this.$props.item.result.address !== null) { - return this.$props.item.result.address; - } - if (this.$props.item.result.parent.address !== null) { - return this.$props.item.result.parent.address; - } + name: 'SuggestionThirdParty', + components: { + OnTheFly, + BadgeEntity + }, + props: ['item'], + i18n, + computed: { + hasAddress() { + if (this.$props.item.result.address !== null) { + return true; + } + if (this.$props.item.result.parent !== null) { + this.$props.item.result.parent.address !== null; + } + }, + hasParent() { + return this.$props.item.result.parent !== null; + }, + getAddress() { + if (this.$props.item.result.address !== null) { + return this.$props.item.result.address; + } + if (this.$props.item.result.parent.address !== null) { + return this.$props.item.result.parent.address; + } - return null; - } - } + return null; + }, + } }