mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Merge branch 'fix/backup-ui' into v2
This commit is contained in:
@@ -51,6 +51,7 @@ export default ({ backup }: Props) => {
|
||||
.then(() => mutate(data => ({
|
||||
...data!,
|
||||
items: data!.items.filter(b => b.uuid !== backup.uuid),
|
||||
usedBackupCount: data!.usedBackupCount - 1,
|
||||
}), false))
|
||||
.catch(error => {
|
||||
console.error(error);
|
||||
|
||||
Reference in New Issue
Block a user