Prevent default action of Flash banner action link click
This commit is contained in:
parent
fb1ba0a55f
commit
791e5024ef
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ export default class IntegrationSettingsForm {
|
|||
if (res.error) {
|
||||
new Flash(`${res.message}.`, null, null, {
|
||||
title: 'Save anyway',
|
||||
clickHandler: () => {
|
||||
clickHandler: (e) => {
|
||||
e.preventDefault();
|
||||
this.$form.submit();
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue