a message when finished and access to old records

This commit is contained in:
Julien Calixte
2023-04-10 21:51:57 +02:00
parent 9b518ca851
commit 266be28809
7 changed files with 57 additions and 35 deletions

View File

@@ -34,7 +34,6 @@ const duration = computed(() => {
return null
}
// TODO: diff in minutes not in seconds
return formatDiffInMinutes(
stepRecord.value.start,
stepRecord.value?.end ?? now.value
@@ -59,11 +58,14 @@ const isSuperiorToEstimation = computed(() => {
<span v-if="isSuperiorToEstimation"></span>
{{ duration }} minutes
</td>
<td v-else>NA</td>
<td v-else></td>
</tr>
</template>
<style scoped lang="scss">
.step-record {
&.current {
background-color: rgb(4, 62, 62);
}
}
</style>