sr-npm 1.7.960 → 1.7.961

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.960",
3
+ "version": "1.7.961",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pages/homePage.js CHANGED
@@ -15,13 +15,15 @@ async function homePageOnReady(_$w,thisObject=null) {
15
15
 
16
16
  const queryResult = await wixData.query(COLLECTIONS.SITE_CONFIGS).find();
17
17
  const siteconfig = queryResult.items[0];
18
- if(siteconfig.categorySearch==="true") {
18
+ if(siteconfig.twg) {
19
19
  const allJobs=await getAllRecords(COLLECTIONS.JOBS);
20
20
  const allvaluesobjects=await getAllRecords(COLLECTIONS.CUSTOM_VALUES);
21
21
  bindPrimarySearch(_$w,allvaluesobjects,allJobs);
22
22
  loadPrimarySearchRepeater(_$w)
23
+ if(siteconfig.twg==="external") {
23
24
  bindTeamRepeater(_$w)
24
25
  bindViewAllButton(_$w)
26
+ }
25
27
  }
26
28
  else{
27
29