mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 08:15:00 +00:00
fix(modal): make confirmation modal close after dispatching Livewire actions (#8892)
This commit is contained in:
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];
|
||||||
|
|||||||
Reference in new issue
Block a user