mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Fix issue where a panel with a description and a cached response displays 2 info icons (#70513)
This commit is contained in:
parent
0e3fbbf636
commit
fbfd1c24e4
@ -97,6 +97,7 @@ export const availableIconsIndex = {
|
||||
'file-blank': true,
|
||||
'file-copy-alt': true,
|
||||
'file-download': true,
|
||||
'file-landscape-alt': true,
|
||||
filter: true,
|
||||
flip: true,
|
||||
folder: true,
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user