This commit is contained in:
Lizandro Guarnizo
2026-04-18 18:53:37 -05:00
parent 63c68bc93d
commit 0025d46a34
2 changed files with 8 additions and 4 deletions
@@ -9,13 +9,9 @@
modalSaldoDesc: @entangle('modalSaldoDesc'),
editarTarifaRol: @entangle('editarTarifaRol'),
init() {
Alpine.store('openDropdown', null);
['editar','gestion','gestionPromo','modalSaldo','modalPassword','modTarifas','modalSaldoDesc','editarTarifaRol'].forEach(prop => {
this.$watch(prop, val => { if (!val) Alpine.store('openDropdown', null); });
});
Livewire.hook('message.processed', () => {
Alpine.store('openDropdown', null);
});
}
}" class="h-full w-full md:my-2">
<div class="absolute backdrop-blur-sm bg-white/70 left-0 bottom-0 top-0 right-0 h-full z-40" wire:loading wire:target="gestionarPromociones,quitarSubvendedor,ponerSubvendedor,actualizarTarifaRol,addpromos,eliminarUsuarioPromo,gestionar,eliminarUsuarioTarifa,addtarifas,crear,actualizar,editar,eliminar,limpiarInputAdd,limpiarInputEdit,editarPassword,limpiarContra,confirmarNewPassword,saldo,addSaldo,addSaldoSubvendedor">