1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix: The issue badge looks like it's disabled now (cluster-menu's icon badge)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2020-08-03 17:17:27 +03:00
parent a6a4372320
commit 0b0e4f25b3
2 changed files with 4 additions and 2 deletions

View File

@ -27,5 +27,7 @@
bottom: 0;
margin: -$padding * 1.5;
font-size: $font-size-small;
background: $colorError;
color: white;
}
}

View File

@ -46,8 +46,8 @@ export class ClusterIcon extends React.Component<Props> {
{showTooltip && (
<Tooltip targetId={clusterIconId}>{clusterName}</Tooltip>
)}
{icon && <img src={icon} alt={clusterName} />}
{!icon && <Hashicon value={clusterName} options={options} />}
{icon && <img src={icon} alt={clusterName}/>}
{!icon && <Hashicon value={clusterName} options={options}/>}
{showErrors && isAdmin && eventCount > 0 && (
<Badge
className={cssNames("events-count", errorClass)}