diff --git a/client/components/modals/BatchQuickMatchModel.vue b/client/components/modals/BatchQuickMatchModel.vue index 233b0134..a80beefa 100644 --- a/client/components/modals/BatchQuickMatchModel.vue +++ b/client/components/modals/BatchQuickMatchModel.vue @@ -125,13 +125,10 @@ export default { }) .then(() => { this.$toast.info('Batch quick match of ' + this.selectedBookIds.length + ' books started!') - this.processing = false - this.$store.commit('setProcessingBatch', false) - this.show = false - }) - .catch((error) => { + }).catch((error) => { this.$toast.error('Batch quick match failed') console.error('Failed to batch quick match', error) + }).finally(() => { this.processing = false this.$store.commit('setProcessingBatch', false) this.show = false