This commit is contained in:
Raven Scott
2026-05-28 11:37:45 -04:00
parent 8854365add
commit ba44ef267d
+2 -1
View File
@@ -185,10 +185,11 @@ function coreCellMark(ok, partial) {
}
function formatCoreRemoteState(remote) {
const esc = window.escapeHtml || ((s) => String(s));
if (!remote) return '<span class="text-gray-500">—</span>';
if (!remote.ok) {
const err = remote.error === 'rpc_not_ready' ? 'RPC not ready' : (remote.error || 'no response');
return `<span class="text-gray-500">${err}</span>`;
return `<span class="text-gray-500">${esc(err)}</span>`;
}
const parts = [remote.nodeType || '?'];
parts.push(remote.dnsPassInitialized ? 'dnsPass' : 'no dnsPass');