(disabled = false, show = true)
| 1301 | } |
| 1302 | |
| 1303 | function setVendorStopButtonState(disabled = false, show = true) { |
| 1304 | const btn = document.getElementById("vendor-stop-btn"); |
| 1305 | if (!btn) return; |
| 1306 | btn.style.display = show ? "" : "none"; |
| 1307 | btn.disabled = Boolean(disabled); |
| 1308 | } |
| 1309 | |
| 1310 | function setVendorRetryButtonState(disabled = false, show = true) { |
| 1311 | const btn = document.getElementById("vendor-retry-btn"); |
no outgoing calls
no test coverage detected