From 72a9183ca8cc592df142c53f35cde36a0f9a1340 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 28 Feb 2022 12:04:05 +0100 Subject: [PATCH] fix in case of no profession --- .../public/vuejs/_components/Entity/ThirdPartyRenderBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue index cf785b22d..7f5727050 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue +++ b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue @@ -135,7 +135,7 @@ export default { }, getProfession() { let profession = [] - if (this.hasParent) { + if (this.hasParent && this.thirdparty.profession) { profession.push(this.thirdparty.profession.name.fr) return profession; }