From 11628898ff3c18a629486c4a98320fa8b7fbcabb Mon Sep 17 00:00:00 2001 From: Shawn Date: Fri, 22 May 2026 18:21:32 -0400 Subject: [PATCH] chore: remove orphaned renderFilterPills function --- static/index.html | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/static/index.html b/static/index.html index 5b32a0c..a667318 100644 --- a/static/index.html +++ b/static/index.html @@ -3403,41 +3403,6 @@ }).join(''); } - function renderFilterPills(assets) { - const cats = new Set(), stats = new Set(), makes = new Set(), parks = new Set(); - assets.forEach(a => { - if (a.category) cats.add(a.category); - if (a.status) stats.add(a.status); - if (a.make) makes.add(a.make); - if (a.disney_park) parks.add(a.disney_park); - }); - - let html = 'All'; - - // Category pills - [...cats].sort().forEach(c => { - html += `📂 ${esc(c)}`; - }); - - // Status pills - [...stats].sort().forEach(s => { - html += `${s === 'active' ? '🟢' : s === 'maintenance' ? '🟡' : '🔴'} ${s}`; - }); - - // Make pills - [...makes].sort().forEach(m => { - html += `🏭 ${esc(m)}`; - }); - - // Disney Park pills - const sortedParks = [...parks].sort((a,b) => (PARK_NAMES[a]||a).localeCompare(PARK_NAMES[b]||b)); - sortedParks.forEach(p => { - html += `${parkIcon(p)} ${parkName(p)}`; - }); - - document.getElementById('filterPills').innerHTML = html; - } - function setFilter(category, status, make, disney_park) { assetFilters.category = category; assetFilters.status = status;