fix tests
parent
766168d571
commit
8054407ac4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue