display beauty tasks
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { formatDate } from '@/shared/format-date'
|
||||
import { useTaskStore } from '@/use-cases/task/stores/useTask.store'
|
||||
|
||||
const taskStore = useTaskStore()
|
||||
@@ -7,7 +8,8 @@ const taskStore = useTaskStore()
|
||||
<template>
|
||||
<ul class="task-list">
|
||||
<li v-for="task in taskStore.tasks" :key="task.id">
|
||||
{{ task.title }}
|
||||
{{ task.title }} | {{ task.totalEstimation }} minutes |
|
||||
{{ formatDate(task.date) }}
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user