sr-npm 1.7.662 → 1.7.663

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.662",
3
+ "version": "1.7.663",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -258,11 +258,8 @@ async function loadJobs(_$w) {
258
258
  }
259
259
  }
260
260
  else{
261
-
262
- console.log("jobVal: ",jobVal)
263
- console.log("jobVal.some(value=>values.includes(value._id)): ",jobVal.some(value=>values.includes(value._id)))
264
261
  //if it is not location then we check if selecred values (which is an array) have one of the job values (whcih is also an array)
265
- if(jobVal.some(value=>values.includes(value._id))) {
262
+ if(job[filterByField].some(value=>values.includes(value._id))) {
266
263
  if(!addedJobsIds.includes(job._id)) {
267
264
  tempFilteredJobs.push(job);
268
265
  addedJobsIds.push(job._id);