fix tests

main
Joost Wooning 2022-02-14 14:31:16 +01:00
parent 766168d571
commit 8054407ac4
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ export default class SignalLegendEntry extends Component {
const plottedButtonClass = isPlotted ? 'button' : 'button--alpha'; const plottedButtonClass = isPlotted ? 'button' : 'button--alpha';
const colorBarStyle = { const colorBarStyle = {
opacity: isHighlighted ? 0.5 : 0.3, opacity: isHighlighted ? 0.5 : 0.3,
backgroundColor: `rgb(${color.join(',')})`, backgroundColor: color ? `rgb(${color.join(',')})` : null,
}; };
return ( return (
<div <div