File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const PillWrapper = styled.div`
2121const FilterRecapItem = ( {
2222 type,
2323 value,
24- hue ,
24+ hasBackground ,
2525 color,
2626 name,
2727 icon,
@@ -35,7 +35,7 @@ const FilterRecapItem = ({
3535 | 'devices'
3636 | 'os'
3737 | 'replicabilities' ;
38- hue ?: boolean ;
38+ hasBackground ?: boolean ;
3939 color ?: string ;
4040 value : string ;
4141 name : string ;
@@ -45,7 +45,7 @@ const FilterRecapItem = ({
4545 const filters = getSelectedFilters ( ) ;
4646 return (
4747 < Tag
48- hue = { color && hue ? `${ color } 10` : '' }
48+ hue = { color && hasBackground ? `${ color } 10` : '' }
4949 color = { color || 'inherit' }
5050 size = "large"
5151 >
@@ -192,7 +192,7 @@ export const FilterRecap = () => {
192192 type = "severities"
193193 value = { severity . id . toString ( ) }
194194 color = { getSeverityInfo ( severity . name as Severities , t ) . color }
195- hue
195+ hasBackground
196196 name = { getSeverityInfo ( severity . name as Severities , t ) . text }
197197 />
198198 ) )
You can’t perform that action at this time.
0 commit comments