add link to User Story

This commit is contained in:
Julien Calixte
2023-04-09 22:55:55 +02:00
parent cd49c4cf0a
commit 7e8cdd4b78
2 changed files with 25 additions and 3 deletions

View File

@@ -15,9 +15,16 @@ const task = computed(() => taskStore.getTask(props.id))
<div class="task-view" v-if="task">
<h1>{{ task.title }}</h1>
<h2>{{ task.totalEstimation }} minutes</h2>
<a
v-if="task.link"
:href="task.link"
target="_blank"
rel="noopener noreferrer"
>User Story link</a
>
<ul>
<li v-for="step in task.steps" :key="step.id">
{{ step.title }} | {{ step.estimation }}
<div>{{ step.title }} | {{ step.estimation }}</div>
</li>
</ul>
</div>