fix(modal): make confirmation modal close after dispatching Livewire actions (#8892)
This commit is contained in:
commit
0256043ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@
|
||||||
}
|
}
|
||||||
if (this.dispatchAction) {
|
if (this.dispatchAction) {
|
||||||
$wire.dispatch(this.submitAction);
|
$wire.dispatch(this.submitAction);
|
||||||
return true;
|
return Promise.resolve(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
const methodName = this.submitAction.split('(')[0];
|
const methodName = this.submitAction.split('(')[0];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue