sr-npm 1.7.845 → 1.7.846
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 +4 -2
- package/package.json +1 -1
package/backend/data.js
CHANGED
|
@@ -143,7 +143,8 @@ async function saveJobsDataToCMS() {
|
|
|
143
143
|
getCustomFieldsAndValuesFromPosition(position,customFieldsLabels,customFieldsValues);
|
|
144
144
|
getEmploymentType(position,customFieldsValues);
|
|
145
145
|
getLocation(position,basicJob);
|
|
146
|
-
if(templateType===TEMPLATE_TYPE.
|
|
146
|
+
if(templateType===TEMPLATE_TYPE.EXTERNAL){
|
|
147
|
+
console.log("change me lkater to internsal")
|
|
147
148
|
getVisibility(position,customFieldsValues);
|
|
148
149
|
}
|
|
149
150
|
|
|
@@ -198,8 +199,9 @@ async function insertJobsReference(valueId) {
|
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
async function populateCustomFieldsCollection(customFields) {
|
|
201
|
-
fieldstoinsert=[]
|
|
202
|
+
let fieldstoinsert=[]
|
|
202
203
|
customFields["employmentType"] = "Employment Type";
|
|
204
|
+
customFields["visibility"] = "Visibility";
|
|
203
205
|
for(const ID of Object.keys(customFields)){
|
|
204
206
|
fieldstoinsert.push({
|
|
205
207
|
title: customFields[ID],
|