sr-npm 1.2.34 → 1.2.35

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.2.34",
3
+ "version": "1.2.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -121,7 +121,9 @@ async function handleUrlParams(_$w,urlParams) {
121
121
  if(urlParams.keyword) {
122
122
  applyFiltering = await primarySearch(_$w, decodeURIComponent(urlParams.keyword));
123
123
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_INPUT).value = decodeURIComponent(urlParams.keyword);
124
- const data = _$w("#jobsDataset").getItems()?.items || [];
124
+ let data = await _$w("#jobsDataset").getItems();
125
+ data = data.items || [];
126
+
125
127
  currentJobs = data;
126
128
  keywordAllJobs = data;
127
129
  }