Fix CSP violations and ignoreAvailable reference error
Build and Push Docker Image / build (push) Successful in 27s
Licence Check / Licence compatibility and copyright header verification (push) Failing after 40s
CI / Security audit (push) Successful in 54s
CI / Tests & coverage (push) Successful in 1m7s

- Add .hidden utility class to style.css for CSP compliance
- Replace all inline style='display: none' with class='hidden' in HTML
- Update all UI modules to use classList.add/remove instead of style.display
- Fix ignoreAvailable reference error in history.js (use state.ignoreAvailable)
- Rebuild client bundle with vite
This commit is contained in:
2026-05-21 00:33:57 +01:00
parent ddebe96056
commit f02c30efde
10 changed files with 163 additions and 90 deletions
+2 -2
View File
@@ -75,12 +75,12 @@ export function renderDownloads() {
}
if (filteredDownloads.length === 0) {
noDownloads.style.display = 'block';
noDownloads.classList.remove('hidden');
downloadsList.innerHTML = '';
return;
}
noDownloads.style.display = 'none';
noDownloads.classList.add('hidden');
// Get existing cards
const existingCards = new Map();