Modify ssa badge to for new location of badge

pull/5370/head
Joseph Izang 2 years ago
parent 4c53904de8
commit ed3c3569a8
  1. 4
      libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx

@ -52,13 +52,13 @@ function Badge ({ badgeStatus }: BadgeProps) {
placement={'right'} placement={'right'}
tooltipClasses="text-nowrap" tooltipClasses="text-nowrap"
tooltipId="verticalItemsbadge" 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 <i
className={resolveClasses(badgeStatus.key, badgeStatus.type!)} className={resolveClasses(badgeStatus.key, badgeStatus.type!)}
aria-hidden="true" aria-hidden="true"
> >
{badgeStatus.text} { badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? '.' : badgeStatus.text}
</i> </i>
</CustomTooltip> </CustomTooltip>
) : null ) : null

Loading…
Cancel
Save