sr-npm 1.7.547 → 1.7.548
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/data.js +3 -3
- package/package.json +1 -1
package/backend/data.js
CHANGED
|
@@ -57,9 +57,9 @@ function getCustomFieldsAndValuesFromPosition(position,customFieldsLabels,custom
|
|
|
57
57
|
for (const field of customFieldsArray) {
|
|
58
58
|
if(field.fieldLabel==="Country" || field.fieldLabel==="Department" || field.fieldLabel==="Brands") continue; //country and department are not custom fields, they are already in the job object
|
|
59
59
|
const label = field.fieldLabel
|
|
60
|
-
const fieldId=field.fieldId
|
|
61
|
-
const fieldLabel =
|
|
62
|
-
const valueId=field.valueId
|
|
60
|
+
const fieldId=normalizeString(field.fieldId)
|
|
61
|
+
const fieldLabel = label;
|
|
62
|
+
const valueId=normalizeString(field.valueId)
|
|
63
63
|
const valueLabel = field.valueLabel
|
|
64
64
|
customFieldsLabels[fieldId] = fieldLabel
|
|
65
65
|
// Build nested dictionary: fieldId -> { valueId: valueLabel }
|