Skip to content
Snippets Groups Projects
Commit fe170cbe authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files

Save draft when changing action plan measure level. Fixes...

Save draft when changing action plan measure level. Fixes https://app.asana.com/0/1202404842967175/1202819031505437
parent 1ef446ed
No related branches found
No related tags found
No related merge requests found
Pipeline #30779 canceled
......@@ -78,7 +78,12 @@ export default {
const evaluation = { ...this.evaluation }
evaluation.measure_levels = this.evaluation.measure_levels.map(m => m.measure_id === this.measure.id ? ({...m, expected_level : parseInt(newValue) }) : m)
this.$store.commit('updateEvaluation', evaluation)
this.$store.dispatch('saveDraftEvaluation', evaluation).then(() => {
this.$store.dispatch('getGraphForEvaluation', {name: 'risks', id:evaluation.id})
this.$store.dispatch('getGraphForEvaluation', {name: 'futurerisks', id:evaluation.id})
this.$store.commit('updateEvaluation', evaluation)
})
}
},
end_date: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment