Skip to content

Commit

Permalink
fix: extraFields not showing properly
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Dec 2, 2023
1 parent ca33adc commit cb4e181
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/client/src/components/admin/values/ManageValueModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ function createInitialValues(options: CreateInitialValuesOptions) {
image: "",

extraFields:
value && (isDivisionValue(value) || isDepartmentValue(value))
value &&
(isDivisionValue(value) || isDepartmentValue(value) || isEmergencyVehicleValue(value))
? safelyStringifyJSON(value.extraFields)
: "null",

Expand Down

0 comments on commit cb4e181

Please sign in to comment.