From 12bb5c04a4b5124095ea0083af4249cafb9dc035 Mon Sep 17 00:00:00 2001 From: DANYDHSV Date: Thu, 12 Feb 2026 12:48:41 -0600 Subject: [PATCH] =?UTF-8?q?se=20elimin=C3=B3=20el=20buscador=20en=20el=20g?= =?UTF-8?q?estor=20de=20instaladores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public.php | 42 +++++------------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/public.php b/public.php index 8907af95..7252873f 100755 --- a/public.php +++ b/public.php @@ -1067,16 +1067,11 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador -
-
- - -
-
- -
+ +
+
@@ -1943,36 +1938,9 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador `).join(''); - filterInstallers(); // Re-apply filter after render } renderTable(); - window.filterInstallers = function() { - const query = document.getElementById('installerSearch').value.toLowerCase(); - const rows = document.querySelectorAll('#installersTable tbody tr'); - let visibleCount = 0; - - rows.forEach(row => { - const text = row.innerText.toLowerCase(); - if (text.includes(query)) { - row.style.display = ''; - visibleCount++; - } else { - row.style.display = 'none'; - } - }); - - const emptyState = document.getElementById('installersEmptyState'); - const tableContainer = document.querySelector('#installersTable').parentElement; - - if (visibleCount === 0 && rows.length > 0) { - emptyState.style.display = 'block'; - tableContainer.style.display = 'none'; - } else { - emptyState.style.display = 'none'; - tableContainer.style.display = 'block'; - } - } window.editInstaller = function(index) { const installer = store.installers[index];