From c4ee6a64258fca36b9fd4afcf63511cb833ce256 Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Fri, 5 Dec 2025 17:32:12 +0100 Subject: [PATCH] Fix: Enhance panel ID validation in PanelPerformanceMetrics This commit updates the panel ID validation logic in the PanelPerformanceMetrics component to check for both null and NaN values, ensuring more robust handling of invalid panel IDs. --- .../features/dashboard-scene/scene/PanelPerformanceMetrics.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/scene/PanelPerformanceMetrics.tsx b/public/app/features/dashboard-scene/scene/PanelPerformanceMetrics.tsx index 2eb52065970..17b25b292d0 100644 --- a/public/app/features/dashboard-scene/scene/PanelPerformanceMetrics.tsx +++ b/public/app/features/dashboard-scene/scene/PanelPerformanceMetrics.tsx @@ -31,7 +31,7 @@ export class PanelPerformanceMetrics extends SceneObjectBase