sr-npm 1.7.144 → 1.7.145

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.144",
3
+ "version": "1.7.145",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,9 @@ queryKeyWordVar=query.keyWord;
23
23
  queryDepartmentVar=query.department;
24
24
  console.log("query", query);
25
25
  thisObjectVar=thisObject;
26
+ _$w('#dataset2').onReady(async () => {
27
+ await _$w('#dataset2').refresh();
28
+ });
26
29
  allJobs=await getAllPositions();
27
30
  await handleUrlParams(_$w);
28
31
  await activateAutoLoad(_$w);
@@ -264,9 +267,7 @@ async function handleDepartmentParam(_$w,department) {
264
267
  console.log("department inside handleDepartmentParam", departmentValue);
265
268
 
266
269
  // Debug: Check dropdown options
267
- await _$w('#dataset2').onReadyAsync(async () => {
268
- await _$w('#dataset2').refresh();
269
- });
270
+
270
271
  console.log("after refresh");
271
272
  const dropdownOptions = _$w('#dropdownDepartment').options;
272
273
  console.log("dropdown options:", dropdownOptions);