sr-npm 1.7.295 → 1.7.297

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.295",
3
+ "version": "1.7.297",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -152,12 +152,6 @@ async function bind(_$w) {
152
152
  _$w('#dropdownsContainer').collapse();
153
153
  }
154
154
 
155
- // _$w('#positionsRepeater').onItemReady(async ($item, itemData) => {
156
- // $item('#positionItem').onClick(async () => {
157
- // let baseUrl = await location.baseUrl();
158
- // to(`${baseUrl}/jobs/${itemData._id}`);
159
- // });
160
- // });
161
155
  }
162
156
 
163
157
  function init(_$w) {
@@ -11,10 +11,12 @@ const {
11
11
  _$w('#datasetJobsItem').onReady(async () => {
12
12
 
13
13
  const item = await _$w('#datasetJobsItem').getCurrentItem();
14
+ console.log("item is: ", item);
14
15
 
15
16
  _$w('#companyDescriptionText').text = htmlToText(item.jobDescription.companyDescription.text);
16
- _$w('#responsibilitiesText').text = htmlToText(item.jobDescription.jobDescription.text);
17
+ _$w('#responsibilitiesText').text = "htmlToText(item.jobDescription.jobDescription.text);"
17
18
  _$w('#qualificationsText').text = htmlToText(item.jobDescription.qualifications.text);
19
+ _$w('#richContent').content = item.jobDescription.jobDescription.text;
18
20
  _$w('#relatedJobsTitleText').text = `More ${item.department} Positions`;
19
21
  });
20
22