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