Correctly handle error; don't overwrite laravel method
This commit is contained in:
parent
32fb21d0b7
commit
f558bc880a
3 changed files with 4 additions and 3 deletions
|
@ -71,7 +71,8 @@ export default ({ backup }: Props) => {
|
|||
console.error(error);
|
||||
clearAndAddHttpError({ key: 'backups', error });
|
||||
})
|
||||
.then(() => setLoading(false));
|
||||
.then(() => setLoading(false))
|
||||
.then(() => setModal(''));
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue