mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Correctly handle error; don't overwrite laravel method
This commit is contained in:
@@ -71,7 +71,8 @@ export default ({ backup }: Props) => {
|
||||
console.error(error);
|
||||
clearAndAddHttpError({ key: 'backups', error });
|
||||
})
|
||||
.then(() => setLoading(false));
|
||||
.then(() => setLoading(false))
|
||||
.then(() => setModal(''));
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user