(entry)
| 14324 | btn.disabled = !enabled; |
| 14325 | btn.className = enabled |
| 14326 | ? 'flex-1 bg-fuchsia-600 hover:bg-fuchsia-700 text-white py-2 px-4 rounded-lg transition-colors' |
| 14327 | : 'flex-1 bg-gray-600 text-white py-2 px-4 rounded-lg cursor-not-allowed transition-colors'; |
| 14328 | } |
| 14329 | |
| 14330 | function _setPwnUpdateStashVisible(visible) { |
| 14331 | const btn = document.getElementById('pwn-update-stash-btn'); |
| 14332 | if (!btn) return; |
| 14333 | if (visible) btn.classList.remove('hidden'); |
| 14334 | else btn.classList.add('hidden'); |
| 14335 | } |
no test coverage detected