Skip to content

Commit

Permalink
Fix: Show error notification only in case of an error
Browse files Browse the repository at this point in the history
  • Loading branch information
momocode-de committed Oct 14, 2024
1 parent de976c1 commit a355988
Show file tree
Hide file tree
Showing 29 changed files with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,12 @@ export default {
}
}
}
}).finally((errorResponse) => {
}).catch((errorResponse) => {
this.createNotificationError({
title: this.$tc('payone-payment.settingsForm.titleError'),
message: this.$tc('payone-payment.settingsForm.messageTestError.general')
});
}).finally(() => {
this.isTesting = false;
});
},
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/administration/js/payone-payment.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a355988

Please sign in to comment.