fix in case of no profession

This commit is contained in:
Julie Lenaerts 2022-02-28 12:04:05 +01:00
parent 530297bc67
commit 72a9183ca8

View File

@ -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;
}