From f06c6ea694bbdbd90aba8eb0444b66bcedfa2c57 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 23 Jun 2023 11:25:34 +0300 Subject: [PATCH] [v10.0.x] Dashboard: Fix issue where a panel with a description and a cached response displays 2 info icons (#70566) Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com> Fix issue where a panel with a description and a cached response displays 2 info icons (#70513) --- packages/grafana-data/src/types/icon.ts | 1 + .../dashboard/dashgrid/PanelHeader/PanelHeaderNotice.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-data/src/types/icon.ts b/packages/grafana-data/src/types/icon.ts index 9c978f586fd..b36b247e524 100644 --- a/packages/grafana-data/src/types/icon.ts +++ b/packages/grafana-data/src/types/icon.ts @@ -95,6 +95,7 @@ export const availableIconsIndex = { 'file-blank': true, 'file-copy-alt': true, 'file-download': true, + 'file-landscape-alt': true, filter: true, flip: true, folder: true, diff --git a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderNotice.tsx b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderNotice.tsx index 9c394f0ee37..e4575e0b075 100644 --- a/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderNotice.tsx +++ b/public/app/features/dashboard/dashgrid/PanelHeader/PanelHeaderNotice.tsx @@ -14,7 +14,7 @@ export const PanelHeaderNotice = ({ notice, onClick }: Props) => { const styles = useStyles2(getStyles); const iconName = - notice.severity === 'error' || notice.severity === 'warning' ? 'exclamation-triangle' : 'info-circle'; + notice.severity === 'error' || notice.severity === 'warning' ? 'exclamation-triangle' : 'file-landscape-alt'; if (notice.inspect && onClick) { return (