reihenfolge geändert weilt sonst error
This commit is contained in:
1 parent
003fba3a49
commit
c20841e475
1 file changed
+1
-1
@@ -16,8 +16,8 @@ export async function editElement({ element, fields, apiCall, id, onSuccess, onF
|
||||
|
||||
|
||||
if (result.ok) {
|
||||
onSuccess(formData);
|
||||
abortEditing(formElement, element);
|
||||
onSuccess(formData);
|
||||
} else {
|
||||
onFailure(result);
|
||||
|
||||
|
||||
Reference in new issue
Block a user