Merge branch 'fix/backup-ui' into v2

This commit is contained in:
Matthew Penner 2021-08-04 17:29:57 -06:00
commit 0ab124f026
No known key found for this signature in database
GPG key ID: 5396CC4C3C1C9704
6 changed files with 23 additions and 10 deletions

View file

@ -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);