forked from Yara724/api
fixed branch being mandatory
This commit is contained in:
@@ -565,7 +565,10 @@ function buildDriverSection(
|
||||
{ label: PR.name, value: asString(person.fullName) },
|
||||
{
|
||||
label: PR.licenseType,
|
||||
value: licenseType ?? (person.driverLicense ? PR.driverLicense : undefined),
|
||||
value:
|
||||
licenseType ??
|
||||
asString(person.licenseType) ??
|
||||
(person.driverLicense ? PR.driverLicense : undefined),
|
||||
},
|
||||
{
|
||||
label: PR.licenseDate,
|
||||
|
||||
Reference in New Issue
Block a user