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

Function _setKioskBadge

web/scripts/ragnar_modern.js:17733–17747  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

17731 </div>
17732 `).join('');
17733 } else {
17734 servicesDiv.innerHTML = '<div class="text-gray-400">No services found</div>';
17735 }
17736 }
17737
17738 if (statusDiv) {
17739 statusDiv.innerHTML = `
17740 <div class="bg-green-600 rounded p-3 text-sm">
17741 Found ${response.services.length} services
17742 </div>
17743 `;
17744 }
17745
17746 } else {
17747 throw new Error(response.error || 'Failed to enumerate services');
17748 }
17749 } catch (error) {
17750 console.error('Error enumerating services:', error);

Callers 4

loadKioskStateFunction · 0.70
onKioskEnabledToggledFunction · 0.70
onKioskSettingChangedFunction · 0.70
tickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected