better emoji when there is a problem
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user