diff --git a/public/app/features/panel/components/PanelDataErrorView.tsx b/public/app/features/panel/components/PanelDataErrorView.tsx index a58848c432c..a5173f79a9c 100644 --- a/public/app/features/panel/components/PanelDataErrorView.tsx +++ b/public/app/features/panel/components/PanelDataErrorView.tsx @@ -67,7 +67,7 @@ function getMessageFor( } // In some cases there is a data frame but with no fields - if (!data.series || data.series.length === 0 || (data.series.length === 1 && data.series[0].fields.length === 0)) { + if (!data.series || data.series.length === 0 || (data.series.length === 1 && data.series[0].length === 0)) { return fieldConfig?.defaults.noValue ?? 'No data'; }