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 }) => {
|
const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<OutlinedBugIcon
|
<OutlinedBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#43A047!important',
|
color: '#43A047!important',
|
||||||
@ -40,7 +40,7 @@ const NoneVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
|||||||
};
|
};
|
||||||
const UnknownVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
const UnknownVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<OutlinedBugIcon
|
<OutlinedBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#52637A',
|
color: '#52637A',
|
||||||
@ -75,7 +75,7 @@ const FailedScanIcon = () => {
|
|||||||
};
|
};
|
||||||
const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<OutlinedBugIcon
|
<OutlinedBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#FB8C00',
|
color: '#FB8C00',
|
||||||
@ -92,7 +92,7 @@ const LowVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
|||||||
};
|
};
|
||||||
const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<FilledBugIcon
|
<FilledBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#FB8C00',
|
color: '#FB8C00',
|
||||||
@ -109,7 +109,7 @@ const MediumVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
|||||||
};
|
};
|
||||||
const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<OutlinedBugIcon
|
<OutlinedBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#E53935',
|
color: '#E53935',
|
||||||
@ -126,7 +126,7 @@ const HighVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
|||||||
};
|
};
|
||||||
const CriticalVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
const CriticalVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
|
||||||
return (
|
return (
|
||||||
<Tooltip title={`${vulnerabilityStringTitle} Vulnerability`} placement="top">
|
<Tooltip title={`${vulnerabilityStringTitle}`} placement="top">
|
||||||
<FilledBugIcon
|
<FilledBugIcon
|
||||||
sx={{
|
sx={{
|
||||||
color: '#E53935',
|
color: '#E53935',
|
||||||
|
Loading…
Reference in New Issue
Block a user