sr-npm 1.7.1304 → 1.7.1306

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.1304",
3
+ "version": "1.7.1306",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,8 @@ const {
17
17
  siteconfig = await wixData.query(COLLECTIONS.SITE_CONFIGS).find().then(result => result.items[0]);
18
18
  }
19
19
  console.log("positionPageOnReady called");
20
-
20
+ const item = await _$w('#datasetJobsItem').getCurrentItem();
21
+ console.log("item: ",item);
21
22
  await bind(_$w);
22
23
 
23
24
 
@@ -47,7 +48,7 @@ async function getCategoryValue(customValues) {
47
48
 
48
49
  const companysegmentValue=multiRefField.filter(field => field.customField===COMPANY_SEGMENT_CUSTOM_FIELD_ID_IN_CMS && field.title==="Store Support Office" );
49
50
  console.log("companysegmentValue: ",companysegmentValue);
50
- if(companysegmentValue===undefined) {
51
+ if(companysegmentValue===undefined || companysegmentValue.length===0) {
51
52
 
52
53
  _$w("#notifyMe").hide()
53
54
  console.log("companysegmentValue is Store Support Office, hiding notifyMe");