mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix in case of no profession
This commit is contained in:
parent
530297bc67
commit
72a9183ca8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user