better emoji when there is a problem

This commit is contained in:
Julien Calixte
2023-11-27 11:40:07 +01:00
parent 3f4b9decb8
commit a71fbdecd3

View File

@@ -52,7 +52,7 @@ const duration = computed(() => {
) )
}) })
const isSuperiorToEstimation = computed(() => { const isGreaterThanEstimation = computed(() => {
if (!step.value || !stepRecord.value || !duration.value) { if (!step.value || !stepRecord.value || !duration.value) {
return false return false
} }
@@ -80,8 +80,8 @@ const isSuperiorToEstimation = computed(() => {
</div> </div>
</td> </td>
<td class="status"> <td class="status">
<span v-if="stepRecord?.end && !isSuperiorToEstimation"></span> <span v-if="stepRecord?.end && !isGreaterThanEstimation"></span>
<span v-else-if="isSuperiorToEstimation"> </span> <span v-else-if="isGreaterThanEstimation"></span>
<span v-else></span> <span v-else></span>
</td> </td>
<td class="step-title"> <td class="step-title">