Clean up code
This commit is contained in:
parent
446f6ad563
commit
b7e965956b
|
|
@ -353,16 +353,7 @@ const _save = debounce(function () {
|
|||
},
|
||||
},
|
||||
};
|
||||
doUpdateAssignmentWithSuccess(variables, {
|
||||
update(
|
||||
_cache,
|
||||
{
|
||||
data: {
|
||||
updateAssignment: { _successful, _updatedAssignment },
|
||||
},
|
||||
}
|
||||
) {},
|
||||
}).then(() => {
|
||||
doUpdateAssignmentWithSuccess(variables).then(() => {
|
||||
saving.value--;
|
||||
if (saving.value === 0) {
|
||||
unsaved.value = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue