better display
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user