Modify ssa badge to for new location of badge

pull/3642/head
Joseph Izang 2 years ago
parent 21d5fc221b
commit 6a7afd271e
  1. 4
      libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx

@ -52,13 +52,13 @@ function Badge ({ badgeStatus }: BadgeProps) {
placement={'right'}
tooltipClasses="text-nowrap"
tooltipId="verticalItemsbadge"
tooltipText={badgeStatus.title}
tooltipText={badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? 'There are multiple warnings or errors that might need to be fixed' :badgeStatus.title}
>
<i
className={resolveClasses(badgeStatus.key, badgeStatus.type!)}
aria-hidden="true"
>
{badgeStatus.text}
{ badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? '.' : badgeStatus.text}
</i>
</CustomTooltip>
) : null

Loading…
Cancel
Save