sr-npm 1.7.1349 → 1.7.1351
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 +2 -3
- package/package.json +1 -1
- package/pages/positionPage.js +5 -4
package/backend/data.js
CHANGED
|
@@ -403,9 +403,8 @@ async function referenceJobs() {
|
|
|
403
403
|
|
|
404
404
|
async function syncJobsFast(taskData) {
|
|
405
405
|
try{
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
EXCLUDED_CUSTOM_FIELDS = new Set(customFieldsToExclude);
|
|
406
|
+
const { excludedCustomFields } = taskData;
|
|
407
|
+
EXCLUDED_CUSTOM_FIELDS = new Set(excludedCustomFields);
|
|
409
408
|
console.log("Syncing jobs fast");
|
|
410
409
|
await createCollections();
|
|
411
410
|
|
package/package.json
CHANGED
package/pages/positionPage.js
CHANGED
|
@@ -61,13 +61,14 @@ async function getCategoryValue(customValues) {
|
|
|
61
61
|
handleReferFriendButton(_$w,item);
|
|
62
62
|
handleApplyButton(_$w,item);
|
|
63
63
|
|
|
64
|
-
_$w('#companyDescriptionText').content = item.jobDescription.companyDescription;
|
|
65
|
-
_$w('#responsibilitiesText').content = item.jobDescription.jobDescription;
|
|
66
|
-
_$w('#qualificationsText').content = item.jobDescription.qualifications;
|
|
64
|
+
item.jobDescription.companyDescription===undefined ? _$w('#companyDescriptionStack').collapse() : _$w('#companyDescriptionText').content = item.jobDescription.companyDescription;
|
|
65
|
+
item.jobDescription.jobDescription===undefined ? _$w('#responsibilitiesStack').collapse() : _$w('#responsibilitiesText').content = item.jobDescription.jobDescription;
|
|
66
|
+
item.jobDescription.qualifications===undefined ? _$w('#qualificationsStack').collapse() : _$w('#qualificationsText').content = item.jobDescription.qualifications;
|
|
67
|
+
|
|
67
68
|
_$w('#relatedJobsTitleText').text = `More ${item.department} Positions`;
|
|
68
69
|
if(isElementExistOnPage(_$w('#additionalInfoText')))
|
|
69
70
|
{
|
|
70
|
-
_$w('#additionalInfoText').content = item.jobDescription.additionalInformation;
|
|
71
|
+
item.jobDescription.additionalInformation===undefined ? _$w('#additionalInfoStack').collapse() : _$w('#additionalInfoText').content = item.jobDescription.additionalInformation;
|
|
71
72
|
}
|
|
72
73
|
if(isElementExistOnPage(_$w('#relatedJobsRepNoDepartment'))) // when there is no department, we filter based on category
|
|
73
74
|
{
|