Skip to content

Commit

Permalink
Merge branch 'main' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL authored Nov 12, 2023
2 parents 5739531 + 6a1f730 commit ee447c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ window.LivewireUIModal = () => {

if (this.getActiveComponentModalAttribute('dispatchCloseEvent') === true) {
const componentName = this.$wire.get('components')[this.activeComponent].name;
Livewire.dispatch('modalClosed', componentName);
Livewire.dispatch('modalClosed', {name: componentName});
}

if (this.getActiveComponentModalAttribute('destroyOnClose') === true) {
Expand Down

0 comments on commit ee447c7

Please sign in to comment.