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 1f6a397e3..1644c1181 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons/TypeThirdParty.vue @@ -77,8 +77,9 @@ export default { return true; } if (this.$props.item.result.parent !== null) { - this.$props.item.result.parent.address !== null; + return this.$props.item.result.parent.address !== null; } + return false }, hasParent() { return this.$props.item.result.parent !== null;