no need to abstract a push
This commit is contained in:
@@ -62,9 +62,6 @@ export const useSimulationStore = defineStore('dashboard', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
newDashboard(dashboard: Dashboard) {
|
|
||||||
this.dashboards.push(dashboard)
|
|
||||||
},
|
|
||||||
async simulate(strategy: Strategy) {
|
async simulate(strategy: Strategy) {
|
||||||
const steps = featureSteps
|
const steps = featureSteps
|
||||||
const backlog = await instance.newBacklog()
|
const backlog = await instance.newBacklog()
|
||||||
@@ -98,7 +95,7 @@ export const useSimulationStore = defineStore('dashboard', {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.newDashboard(dashboard)
|
this.dashboards.push(dashboard)
|
||||||
this.mean[strategy].leadTimeSum += dashboard.analysis.meanLeadTime
|
this.mean[strategy].leadTimeSum += dashboard.analysis.meanLeadTime
|
||||||
this.mean[strategy].taktTimeSum +=
|
this.mean[strategy].taktTimeSum +=
|
||||||
dashboard.meta.totalDays / newState.features.length
|
dashboard.meta.totalDays / newState.features.length
|
||||||
|
|||||||
Reference in New Issue
Block a user