sr-npm 1.7.902 → 1.7.903
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 +1 -1
- package/pages/pagesUtils.js +1 -0
- package/pages/supportTeamsPage.js +1 -0
package/package.json
CHANGED
package/pages/pagesUtils.js
CHANGED
|
@@ -180,6 +180,7 @@ async function primarySearch(_$w,query,alljobs) {
|
|
|
180
180
|
|
|
181
181
|
async function getValueFromValueId(valueId) {
|
|
182
182
|
const result=await getAllRecords(COLLECTIONS.CUSTOM_VALUES);
|
|
183
|
+
console.log("result: ",result);
|
|
183
184
|
return result.find(value=>value._id===valueId);
|
|
184
185
|
|
|
185
186
|
}
|
|
@@ -16,6 +16,7 @@ async function handleRecentJobsSection(_$w) {
|
|
|
16
16
|
const currentItem= _$w(supportTeamsPageIds.TEAM_SUPPORT_DYNAMIC_DATASET).getCurrentItem();
|
|
17
17
|
const valueId=supportTeamsPageIds.valueToValueIdMap[currentItem.title_fld]
|
|
18
18
|
const Value=await getValueFromValueId(valueId);
|
|
19
|
+
console.log("Value: ",Value);
|
|
19
20
|
const latestsJobs=await getLatestJobsByValue(Value);
|
|
20
21
|
|
|
21
22
|
if(latestsJobs.length === 0) {
|