sr-npm 1.7.644 → 1.7.645

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.644",
3
+ "version": "1.7.645",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -244,8 +244,8 @@ async function loadJobs(_$w) {
244
244
  for(job of currentJobs) {
245
245
  console.log("job: ",job)
246
246
  console.log("job[filterByField]: ",job[filterByField])
247
- console.log("job[filterByField].some(value=>values.includes(value))) ",job[filterByField].some(value=>values.includes(value)))
248
- if(job[filterByField].some(value=>values.includes(value))) {
247
+ console.log("job[filterByField].some(value=>values.includes(value))) ",job[filterByField].some(value=>values.includes(value._id)))
248
+ if(job[filterByField].some(value=>values.includes(value._id))) {
249
249
  console.log("!alreadyAddedJobs.includes(job._id) ",!alreadyAddedJobs.includes(job._id))
250
250
  if(!alreadyAddedJobs.includes(job._id)) {
251
251
  newFilteredJobs.push(job);