diff --git a/web/src/Root.tsx b/web/src/Root.tsx
index 541544f722..8f80567f1a 100644
--- a/web/src/Root.tsx
+++ b/web/src/Root.tsx
@@ -549,7 +549,7 @@ const Root = () => {
{group.items ? (
{group.items
- ?.filter((item) => item.type !== "label")
+ ?.filter((item) => item?.type !== "label")
?.map((item, j) => {
const hash = location.hash.slice(1);
if (item.hidden || item.when === "false") {