web/satellite: error while adding credit card handled

Change-Id: I995eb4f07a62c26052226ddbbf06ee332323a0dd
This commit is contained in:
NickolaiYurchenko 2022-01-13 16:55:22 +02:00 committed by Nikolay Yurchenko
parent 309ac41bfc
commit a81af2829e

View File

@ -238,7 +238,13 @@ export default class AddPaymentMethodModal extends Vue {
this.isLoading = true;
try {
await this.$refs.stripeCardInput.onSubmit();
} catch (error) {
await this.$notify.error(error.message)
}
this.isLoading = false;
}
/**