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:
parent
a6a4372320
commit
0b0e4f25b3
@ -27,5 +27,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin: -$padding * 1.5;
|
margin: -$padding * 1.5;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
background: $colorError;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -46,8 +46,8 @@ export class ClusterIcon extends React.Component<Props> {
|
|||||||
{showTooltip && (
|
{showTooltip && (
|
||||||
<Tooltip targetId={clusterIconId}>{clusterName}</Tooltip>
|
<Tooltip targetId={clusterIconId}>{clusterName}</Tooltip>
|
||||||
)}
|
)}
|
||||||
{icon && <img src={icon} alt={clusterName} />}
|
{icon && <img src={icon} alt={clusterName}/>}
|
||||||
{!icon && <Hashicon value={clusterName} options={options} />}
|
{!icon && <Hashicon value={clusterName} options={options}/>}
|
||||||
{showErrors && isAdmin && eventCount > 0 && (
|
{showErrors && isAdmin && eventCount > 0 && (
|
||||||
<Badge
|
<Badge
|
||||||
className={cssNames("events-count", errorClass)}
|
className={cssNames("events-count", errorClass)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user