diff --git a/client/ticket/src/sale/index.js b/client/ticket/src/sale/index.js index 587bb5d77..6fda41697 100644 --- a/client/ticket/src/sale/index.js +++ b/client/ticket/src/sale/index.js @@ -308,9 +308,9 @@ class Controller { updateQuantity(id, quantity) { this.$http.post(`/ticket/api/Sales/${id}/updateQuantity`, {quantity: parseInt(quantity)}).then(() => { this.vnApp.showSuccess(this.$translate.instant('Data saved!')); - this.$scope.model.refresh(); }).catch(e => { this.vnApp.showError(e.data.error.message); + }).finally(() => { this.$scope.model.refresh(); }); }