Merge branch 'fix/backup-ui' into v2
This commit is contained in:
commit
0ab124f026
6 changed files with 23 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue