diff --git a/resources/views/livewire/show-usuarios.blade.php b/resources/views/livewire/show-usuarios.blade.php index 6ace97d..0eb2c50 100755 --- a/resources/views/livewire/show-usuarios.blade.php +++ b/resources/views/livewire/show-usuarios.blade.php @@ -12,6 +12,9 @@ ['editar','gestion','gestionPromo','modalSaldo','modalPassword','modTarifas','modalSaldoDesc','editarTarifaRol'].forEach(prop => { this.$watch(prop, val => { if (!val) window.dispatchEvent(new CustomEvent('close-dropdowns')); }); }); + Livewire.hook('message.processed', () => { + window.dispatchEvent(new CustomEvent('close-dropdowns')); + }); } }" class="h-full w-full md:my-2">