Dashboard: Fix issue where a panel with a description and a cached response displays 2 info icons (#70513)

This commit is contained in:
Alexa V 2023-06-23 10:15:27 +02:00 committed by GitHub
parent 0e3fbbf636
commit fbfd1c24e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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 (