MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setupEpaperAutoRefresh

Function setupEpaperAutoRefresh

web/scripts/ragnar_modern.js:13179–13185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13177
13178 const missingCritical = status.missing_critical || [];
13179 const missingOptional = status.missing_optional || [];
13180 const anyMissing = missingCritical.length > 0 || missingOptional.length > 0;
13181
13182 const badge = document.getElementById('pwn-health-badge');
13183 if (badge) {
13184 badge.className = 'text-xs font-semibold uppercase tracking-wide px-3 py-1 rounded-full self-start whitespace-nowrap';
13185 if (status.installing) {
13186 // Mid-install the clone/config are transiently absent (especially on a
13187 // clean reinstall) — don't alarm the user with a red "Needs Repair".
13188 badge.textContent = 'Installing…';

Callers 1

ragnar_modern.jsFile · 0.70

Calls 1

loadEpaperDisplayFunction · 0.70

Tested by

no test coverage detected