Skip to content

Commit

Permalink
Update ConnectedAccountsForm.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero authored Jan 12, 2021
1 parent 1f752bf commit 10e560b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@
removeConnectedAccount(id) {
this.form.post(route('connected-accounts.destroy', {id}), {
preserveScroll: true,
onSuccess: () => {
if (! this.form.hasErrors()) {
this.confirmingRemove = false;
}
},
onSuccess: () => (this.confirmingRemove = false),
});
},
}
Expand Down

0 comments on commit 10e560b

Please sign in to comment.