Skip to content

Commit

Permalink
🐛 Fix(custom): fix gallery image delete bug
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #239
  • Loading branch information
Kuingsmile committed Sep 11, 2024
1 parent 59ed79a commit d6f48e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/pages/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,9 @@ function multiRemove() {
duration: multiRemoveNumber > 5 ? 1000 : 2000
})
}
} else {
files.push(file)
await $$db.removeById(key)
}
}
}
Expand Down

0 comments on commit d6f48e5

Please sign in to comment.