fix(runtime): tolerate absent browser certificate state

This commit is contained in:
Brennan Benson
2026-07-16 19:44:57 -07:00
parent bb3642ae31
commit eff6339c7e
@@ -1496,7 +1496,7 @@ function buildMobileBrowserTab(
// back through ?? would resurrect a stale workspace-level error.
loadError: activePage ? activePage.loadError : workspace.loadError,
certificateFailure: activePage
? (state.browserCertificateFailuresByPageId[activePage.id] ?? null)
? (state.browserCertificateFailuresByPageId?.[activePage.id] ?? null)
: null,
color: unifiedTab?.color ?? null,
isPinned: unifiedTab?.isPinned === true,