Fix double loading icons showing when validating voucher

This commit is contained in:
Dillon
2023-06-01 18:58:29 +08:00
parent eb8dfea254
commit c323d416da
@@ -663,7 +663,7 @@
amount: this.amount
};
if(this.voucherCode.trim() !== ''){
this.submit(route('api.voucher.validate'), 'post', this.section, false, false);
this.submit(route('api.voucher.validate'), 'post', '', false, false);
}
else{
this.voucherValidated = true;