diff --git a/public.php b/public.php index 2fea2500..218288aa 100755 --- a/public.php +++ b/public.php @@ -2202,7 +2202,8 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador let SYSTEM_USER_ID = userId : 'null'; ?>; const store = { - installers: , + installers: , + admins: , theme: localStorage.getItem('theme') || 'light', crmUrl: '', publicUrl: '', @@ -2300,6 +2301,10 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador targetSection.classList.add('active'); } + if (tabName === 'installer-jobs') { + populateInstallerJobsSelect(); + } + // Initialize module if needed if (tabName === 'notificaciones' && !window.notificacionesInitialized) { // Load clients for notifications module