Merge branch 'develop' into v2
This commit is contained in:
commit
4b32828423
7 changed files with 34 additions and 14 deletions
|
@ -51,7 +51,7 @@ export default ({ backup }: Props) => {
|
|||
.then(() => mutate(data => ({
|
||||
...data!,
|
||||
items: data!.items.filter(b => b.uuid !== backup.uuid),
|
||||
usedBackupCount: data!.usedBackupCount - 1,
|
||||
backupCount: data!.backupCount - 1,
|
||||
}), false))
|
||||
.catch(error => {
|
||||
console.error(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue