fix: isNaN
parent
872c089e4b
commit
653e1cf8a1
|
|
@ -54,8 +54,8 @@ const chartData = computed(() =>
|
||||||
|
|
||||||
return {
|
return {
|
||||||
date: formattedDate,
|
date: formattedDate,
|
||||||
warmUpSet: isNaN(maxWarmUpSetWeight) ? 0 : maxWarmUpSetWeight,
|
warmUpSet: Number.isNaN(maxWarmUpSetWeight) ? 0 : maxWarmUpSetWeight,
|
||||||
workingSet: isNaN(maxWorkingSetWeight) ? 0 : maxWorkingSetWeight,
|
workingSet: Number.isNaN(maxWorkingSetWeight) ? 0 : maxWorkingSetWeight,
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue