Skip to content

Commit cebf8de

Browse files
committed
fixes empty-state
1 parent ee2d88a commit cebf8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-server/src/content/DoraMetrics/Incidents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const AllIncidentsBody = () => {
116116
const { trendsSeriesMap } = useDoraMetricsGraph();
117117
const isTrendSeriesAvailable = head(
118118
trendsSeriesMap?.changeFailureRateTrends || []
119-
)?.data?.some((s) => s.y);
119+
)?.data?.some((s) => s?.y);
120120

121121
if (isLoading) return <MiniLoader label="Fetching incidents ..." />;
122122
if (!allDeployments.length || !isTrendSeriesAvailable)

0 commit comments

Comments
 (0)