Clean up code

This commit is contained in:
Ramon Wenger 2024-03-28 17:09:09 +01:00
parent 446f6ad563
commit b7e965956b
1 changed files with 1 additions and 10 deletions

View File

@ -353,16 +353,7 @@ const _save = debounce(function () {
}, },
}, },
}; };
doUpdateAssignmentWithSuccess(variables, { doUpdateAssignmentWithSuccess(variables).then(() => {
update(
_cache,
{
data: {
updateAssignment: { _successful, _updatedAssignment },
},
}
) {},
}).then(() => {
saving.value--; saving.value--;
if (saving.value === 0) { if (saving.value === 0) {
unsaved.value = false; unsaved.value = false;