Reset corrections on input and on turn in
This commit is contained in:
parent
ec1d68dd51
commit
6948c6724f
|
|
@ -137,6 +137,8 @@
|
|||
});
|
||||
}, 500),
|
||||
saveInput: function (answer) {
|
||||
// reset corrections on input
|
||||
this.corrections = '';
|
||||
this.unsaved = true;
|
||||
/*
|
||||
We update the assignment on this component, so the changes are reflected on it. The server does not return
|
||||
|
|
@ -150,6 +152,8 @@
|
|||
this._save(this.assignment.submission);
|
||||
},
|
||||
turnIn() {
|
||||
// reset corrections on turn in
|
||||
this.corrections = '';
|
||||
this.$apollo.mutate({
|
||||
mutation: UPDATE_ASSIGNMENT_MUTATION,
|
||||
variables: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue