(message)
| 6587 | .then(() => { |
| 6588 | addConsoleMessage('Watchtower unified alerts ' + (cb.checked ? 'ON' : 'OFF'), 'info'); |
| 6589 | if (cb.checked) setTimeout(watchtowerRefresh, 300); else renderWatchtower({ success: true, enabled: false }); |
| 6590 | }) |
| 6591 | .catch(err => { |
| 6592 | addConsoleMessage('Failed to toggle Watchtower: ' + err.message, 'error'); |
| 6593 | cb.checked = !cb.checked; |
| 6594 | }); |
| 6595 | } |
| 6596 | |
| 6597 | // ---- Watchtower: Dashboard summary card ----------------------------------- |
| 6598 | // Compact mirror of the Diagnostics pane: severity chips + the newest findings, |
| 6599 | // so an active attack is visible on the landing tab without digging. |
no outgoing calls
no test coverage detected