fix(modal): make confirmation modal close after dispatching Livewire actions (#8892)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2026-03-11 06:48:10 +01:00
commit 0256043ca5
1 file changed
+1 -1
@@ -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];