sr-npm 1.7.300 → 1.7.302
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 +1 -1
- package/package.json +1 -1
- package/pages/positionPage.js +5 -4
package/backend/data.js
CHANGED
|
@@ -126,7 +126,7 @@ async function saveJobsDescriptionsAndLocationApplyUrlToCMS() {
|
|
|
126
126
|
const updatedJob = {
|
|
127
127
|
...job,
|
|
128
128
|
locationAddress: jobLocation,
|
|
129
|
-
jobDescription: jobDetails.jobAd.sections
|
|
129
|
+
jobDescription: jobDetails.jobAd.sections,
|
|
130
130
|
applyLink: applyLink,
|
|
131
131
|
};
|
|
132
132
|
await wixData.update(COLLECTIONS.JOBS, updatedJob);
|
package/package.json
CHANGED
package/pages/positionPage.js
CHANGED
|
@@ -13,11 +13,12 @@ const {
|
|
|
13
13
|
|
|
14
14
|
const item = await _$w('#datasetJobsItem').getCurrentItem();
|
|
15
15
|
console.log("item is: ", item);
|
|
16
|
+
console.log("item.jobDescription.jobDescription.text is: ", item.jobDescription.jobDescription.text);
|
|
16
17
|
|
|
17
|
-
_$w('#companyDescriptionText').text =
|
|
18
|
-
_$w('#responsibilitiesText').text =
|
|
19
|
-
_$w('#qualificationsText').text =
|
|
20
|
-
_$w('#richContent').
|
|
18
|
+
_$w('#companyDescriptionText').text = htmlToText(item.jobDescription.companyDescription.text);
|
|
19
|
+
_$w('#responsibilitiesText').text = htmlToText(item.jobDescription.jobDescription.text);
|
|
20
|
+
_$w('#qualificationsText').text = htmlToText(item.jobDescription.qualifications.text);
|
|
21
|
+
_$w('#richContent').text = item.jobDescription.jobDescription.text;
|
|
21
22
|
_$w('#relatedJobsTitleText').text = `More ${item.department} Positions`;
|
|
22
23
|
});
|
|
23
24
|
|