From 7d6f838d255ccfd1b50aa6a966ebe59995bcf8ad Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 22 Apr 2025 10:26:06 +0200 Subject: [PATCH] ui: fix empty sank sessions fetch --- .../Dashboard/components/WidgetSessions/WidgetSessions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Dashboard/components/WidgetSessions/WidgetSessions.tsx b/frontend/app/components/Dashboard/components/WidgetSessions/WidgetSessions.tsx index 558c83e9b..5ce1d865a 100644 --- a/frontend/app/components/Dashboard/components/WidgetSessions/WidgetSessions.tsx +++ b/frontend/app/components/Dashboard/components/WidgetSessions/WidgetSessions.tsx @@ -165,7 +165,7 @@ function WidgetSessions(props: Props) { if (widget.metricType === USER_PATH) { if ( seriesJson[0].filter.filters[0].value[0] === '' && - widget.data.nodes + widget.data.nodes?.length ) { seriesJson[0].filter.filters[0].value = widget.data.nodes[0].name; } else if (