no back to the ok previous step

This commit is contained in:
Julien Calixte
2023-07-27 01:24:38 +02:00
parent 523a3a90d5
commit 8479aff38c
3 changed files with 17 additions and 19 deletions

View File

@@ -9,25 +9,25 @@ const NUMBER_OF_SIMULATION = 1000
<div class="row">
<button
class="button button-outline"
@click="simulationStore.simulate('push')"
@click="simulationStore.multiSimulation(1, 'push')"
>
simulate push system
</button>
<button
class="button button-outline"
@click="simulationStore.simulate('pull')"
@click="simulationStore.multiSimulation(1, 'pull')"
>
simulate pull system
</button>
<button
class="button button-outline"
@click="simulationStore.simulate('pull-dps')"
@click="simulationStore.multiSimulation(1, 'pull-dps')"
>
simulate pull and problem solving
</button>
<button
class="button button-outline"
@click="simulationStore.simulate('push-dps')"
@click="simulationStore.multiSimulation(1, 'push-dps')"
>
simulate push and problem solving
</button>

View File

@@ -64,7 +64,6 @@ export const useSimulationStore = defineStore('dashboard', {
this.dashboards.push(dashboard)
},
async simulate(strategy: Strategy) {
this.requestedSimulation++
const steps = featureSteps
const backlog = await instance.newBacklog()
const features = await instance.initBoard(steps, backlog)