Retry the fix
This commit is contained in:
1 parent
c0583f2d43
commit
265e48f84b
2 files changed
+39
-31
No files matched your search
@@ -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