diff --git a/tensorboard/webapp/metrics/store/metrics_reducers.ts b/tensorboard/webapp/metrics/store/metrics_reducers.ts index 73cbc6453c..48015dd3d4 100644 --- a/tensorboard/webapp/metrics/store/metrics_reducers.ts +++ b/tensorboard/webapp/metrics/store/metrics_reducers.ts @@ -716,7 +716,7 @@ const reducer = createReducer( if (state.tagGroupExpanded.size === 0) { const cardListWithMetadata = nextCardList .map((cardId) => { - return {...newCardMetadataMap[cardId], cardId} ?? null; + return {...newCardMetadataMap[cardId], cardId}; }) .filter(Boolean); const cardGroups = groupCardIdWithMetdata(cardListWithMetadata);