()
| 1083 | badge.textContent = txt; |
| 1084 | badge.className = 'text-xs px-2 py-0.5 rounded ' + cls; |
| 1085 | } |
| 1086 | const busy = !!s.installing; |
| 1087 | if (installBtn) { installBtn.disabled = busy; installBtn.textContent = s.installed ? 'Reinstall' : 'Install'; } |
| 1088 | if (rebuildBtn) rebuildBtn.disabled = busy; |
| 1089 | if (uninstallBtn) { uninstallBtn.classList.toggle('hidden', !s.installed); uninstallBtn.disabled = busy; } |
| 1090 | if (s.installing) startSensingLogPoll(); |
no outgoing calls
no test coverage detected