Commit dbeeac28 authored by Mark Harding's avatar Mark Harding

(fix): do not stop editing on error

1 merge request!508Epic/37 wire
Pipeline #79204812 running with stages
......@@ -52,12 +52,13 @@ export class RevenueOptionsComponent {
addBankAccount() {
this.inProgress = true;
this.error = '';
this.editing = false;
// this.editing = false;
this.detectChanges();
this.client.post('api/v2/payments/stripe/connect/bank', this.form.value)
.then((response: any) => {
this.inProgress = false;
this.editing = false;
this.getSettings();
})
.catch((e) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment