fix step ok if 0 minutes

This commit is contained in:
Julien Calixte
2024-03-05 17:44:34 +01:00
parent 90be8a74a4
commit 4e83c26233

View File

@@ -54,7 +54,11 @@ const duration = computed(() => {
}) })
const isOffEstimation = computed(() => { const isOffEstimation = computed(() => {
if (!step.value || !stepRecord.value || !duration.value) { if (
step.value === null ||
stepRecord.value === null ||
duration.value === null
) {
return false return false
} }