Retry the fix
This commit is contained in:
@ -32,6 +32,12 @@ export const EditButtonRow = () => {
|
||||
setRecentlySaved(false);
|
||||
|
||||
flash({ message: response.data.error, type: "error" });
|
||||
} else if (response.data.errors && response.data.errors.length > 0) {
|
||||
setRecentlySaved(false);
|
||||
|
||||
for (const error of response.data.errors) {
|
||||
flash({ message: error, type: "error" });
|
||||
}
|
||||
} else {
|
||||
setRecentlySaved(true);
|
||||
|
||||
|
Reference in New Issue
Block a user