Files
APAW Agent Sync 4af3e7cd9d fix(admin): wire all dashboard buttons + fix 401/login console errors + chart period switching
- dashboard.html: add onclick handlers for Exportar, date range, chart periods
  (week/month/year), Ver todos, quick actions, remove stale inline lead IDs
- admin.js: add exportDashboard(), filterByDateRange(), setChartPeriod(),
  initDateRange(), updateChartsWithData() with period slicing, loadAnalytics()
  on dashboard init
- login.html: guard /api/auth/me with session cookie check to prevent 401 noise
- server/index.ts: fix Secure cookie flag: only set when HTTPS + production + !localhost
2026-05-18 15:54:56 +01:00
..