diff --git a/frontend/components/example/FormAssignment.vue b/frontend/components/example/FormAssignment.vue index f21f56f5..e1aa8c3b 100644 --- a/frontend/components/example/FormAssignment.vue +++ b/frontend/components/example/FormAssignment.vue @@ -112,12 +112,12 @@ export default Vue.extend({ }, methods: { - agree() { + async agree() { const workloads = this.workloadAllocation.map((weight, i) => ({ weight, member_id: this.members[i].id })) - this.$repositories.assignment.bulkAssign(this.projectId, { + await this.$repositories.assignment.bulkAssign(this.projectId, { strategy_name: this.selectedStrategy, workloads })