fleetmap-reports 1.0.220 → 1.0.221
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/src/kms-report.js +1 -2
package/package.json
CHANGED
package/src/kms-report.js
CHANGED
|
@@ -157,9 +157,8 @@ async function exportKmsReportToPDF(userData, reportData) {
|
|
|
157
157
|
d.days.forEach(day => {
|
|
158
158
|
const temp = [
|
|
159
159
|
new Date(day.date).toLocaleDateString(),
|
|
160
|
-
day.kms ? (day.kms/1000).toFixed(0)
|
|
160
|
+
isNaN(day.kms) ? 0 : (day.kms/1000).toFixed(0)
|
|
161
161
|
]
|
|
162
|
-
|
|
163
162
|
data.push(temp)
|
|
164
163
|
})
|
|
165
164
|
|