better display

This commit is contained in:
Julien Calixte
2023-04-09 11:06:47 +02:00
parent 916cf9a92e
commit 1a1b5c35bc

View File

@@ -13,7 +13,13 @@ const task = computed(() => taskStore.getTask(props.id))
<template> <template>
<div class="task-view" v-if="task"> <div class="task-view" v-if="task">
{{ task.title }} <h1>{{ task.title }}</h1>
<h2>{{ task.totalEstimation }} minutes</h2>
<ul>
<li v-for="step in task.steps" :key="step.id">
{{ step.title }} | {{ step.estimation }}
</li>
</ul>
</div> </div>
<div v-else>Task not found</div> <div v-else>Task not found</div>
</template> </template>