Skip to content

Commit

Permalink
fix: Update tooltip for vulnerability chips
Browse files Browse the repository at this point in the history
Signed-off-by: Raul-Cristian Kele <[email protected]>
  • Loading branch information
raulkele committed Aug 8, 2023
1 parent 54c764c commit 8f4c23b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/utilities/vulnerabilityAndSignatureComponents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const VerifiedShieldIcon = createSvgIcon(

const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<OutlinedBugIcon
sx={{
color: '#43A047!important',
Expand All @@ -40,7 +40,7 @@ const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
};
const UnknownVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<OutlinedBugIcon
sx={{
color: '#52637A',
Expand Down Expand Up @@ -75,7 +75,7 @@ const FailedScanIcon = () => {
};
const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<OutlinedBugIcon
sx={{
color: '#FB8C00',
Expand All @@ -92,7 +92,7 @@ const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
};
const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<FilledBugIcon
sx={{
color: '#FB8C00',
Expand All @@ -109,7 +109,7 @@ const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
};
const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<OutlinedBugIcon
sx={{
color: '#E53935',
Expand All @@ -126,7 +126,7 @@ const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
};
const CriticalVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
return (
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
<FilledBugIcon
sx={{
color: '#E53935',
Expand Down

0 comments on commit 8f4c23b

Please sign in to comment.