fix
This commit is contained in:
parent
14b824fe3d
commit
81882a66a5
1 changed files with 2 additions and 0 deletions
|
|
@ -5409,6 +5409,7 @@ export class CommandController extends Controller {
|
|||
profile.gender = item.bodyProfile.gender ?? null;
|
||||
profile.relationship = item.bodyProfile.relationship ?? null;
|
||||
profile.religion = item.bodyProfile.religion ?? null;
|
||||
profile.ethnicity = item.bodyProfile.ethnicity;
|
||||
profile.nationality = item.bodyProfile.nationality ?? null;
|
||||
profile.bloodGroup = item.bodyProfile.bloodGroup ?? null;
|
||||
profile.phone = item.bodyProfile.phone ?? null;
|
||||
|
|
@ -5464,6 +5465,7 @@ export class CommandController extends Controller {
|
|||
profile.gender = item.bodyProfile.gender && item.bodyProfile.gender != "" ? item.bodyProfile.gender : profile.gender;
|
||||
profile.relationship = item.bodyProfile.relationship && item.bodyProfile.relationship != "" ? item.bodyProfile.relationship : profile.relationship;
|
||||
profile.religion = item.bodyProfile.religion && item.bodyProfile.religion != "" ? item.bodyProfile.religion : profile.religion;
|
||||
profile.ethnicity = item.bodyProfile.ethnicity && item.bodyProfile.ethnicity != "" ? item.bodyProfile.ethnicity : profile.ethnicity;
|
||||
profile.nationality = item.bodyProfile.nationality && item.bodyProfile.nationality != "" ? item.bodyProfile.nationality : profile.nationality;
|
||||
profile.bloodGroup = item.bodyProfile.bloodGroup && item.bodyProfile.bloodGroup != "" ? item.bodyProfile.bloodGroup : profile.bloodGroup;
|
||||
profile.phone = item.bodyProfile.phone && item.bodyProfile.phone != "" ? item.bodyProfile.phone : profile.phone;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue