admin(ui): add ability to edit nests
This commit is contained in:
parent
0e366f69ee
commit
20234b308c
13 changed files with 157 additions and 22 deletions
|
@ -44,7 +44,7 @@ const LocationsContainer = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
clearAndAddHttpError({ error, key: 'locations' });
|
||||
clearAndAddHttpError({ key: 'locations', error });
|
||||
}, [ error ]);
|
||||
|
||||
const length = locations?.items?.length || 0;
|
||||
|
|
|
@ -38,7 +38,7 @@ export default () => {
|
|||
setVisible(false);
|
||||
})
|
||||
.catch(error => {
|
||||
clearAndAddHttpError(error);
|
||||
clearAndAddHttpError({ key: 'location:create', error });
|
||||
setSubmitting(false);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue