[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)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user