From ce01007645718f03437bd6ba17b455f47489ff44 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 22:39:01 +0000 Subject: [PATCH] fix(discover): Prevent TypeError when decoding null fields from URL --- static/app/utils/discover/eventView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/app/utils/discover/eventView.tsx b/static/app/utils/discover/eventView.tsx index 82ed2bd3e95d..47328aa8159c 100644 --- a/static/app/utils/discover/eventView.tsx +++ b/static/app/utils/discover/eventView.tsx @@ -161,6 +161,9 @@ const decodeFields = (location: Location): Field[] => { const parsed: Field[] = []; fields.forEach((field, i) => { + if (!field) { + return; + } const w = Number(widths[i]); const width = isNaN(w) ? COL_WIDTH_UNDEFINED : w;