(production flow) add the possibility to remove teams

This commit is contained in:
Julien Calixte
2023-05-27 23:32:47 +02:00
parent 0ea0f10709
commit f951468f26
2 changed files with 13 additions and 4 deletions

View File

@@ -9,8 +9,9 @@ const store = useProductionFlow()
<section class="production-flow">
<add-step />
<ul>
<li :key="step.name" v-for="step in store.$state.steps">
{{ step.name }}
<li :key="team.name" v-for="team in store.$state.teams">
{{ team.name }}
<button @click="store.removeTeam(team.id)"></button>
</li>
</ul>
</section>