fleetmap-reports 1.0.892 → 1.0.893

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": "fleetmap-reports",
3
- "version": "1.0.892",
3
+ "version": "1.0.893",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -132,7 +132,7 @@ async function processDevices (from, to, devices, userData, data) {
132
132
  geofencesData.push({
133
133
  geofenceId: geofence.id,
134
134
  geofenceName: geofence.name,
135
- days: userData.onlyWithKmsOut ? dataByDay.filter(d => d.distanceOut) : dataByDay
135
+ days: userData.onlyWithKmsOut ? dataByDay.filter(d => d.distanceOut >= 0.5) : dataByDay
136
136
  })
137
137
  }
138
138