From 96f73b419d0d6f4d8e0166b62c55044c78d7805f Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 31 Oct 2024 19:11:49 +0100 Subject: [PATCH] Eslint correction always return something in computed property --- .../public/vuejs/_components/AddPersons/TypeThirdParty.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;