From 50a579ca81398ddccf3974a315af3000f0ed16e4 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 18 Apr 2026 18:45:42 -0500 Subject: [PATCH] Update show-usuarios.blade.php --- resources/views/livewire/show-usuarios.blade.php | 3 +++ 1 file changed, 3 insertions(+) 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">