fix: Update tooltip for vulnerability chips
Signed-off-by: Raul-Cristian Kele <raulkeleblk@gmail.com>
This commit is contained in:
parent
54c764c996
commit
8f4c23bf40
@ -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',
|
||||
@ -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',
|
||||
@ -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',
|
||||
@ -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',
|
||||
@ -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',
|
||||
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user