Remove commented out code
parent
b4c8d458c5
commit
02ad18dee5
|
@ -151,16 +151,11 @@ class GaugeOptions extends Component {
|
||||||
handleUpdateGaugeColors(sortedColors)
|
handleUpdateGaugeColors(sortedColors)
|
||||||
}
|
}
|
||||||
|
|
||||||
// componentDidMount = () => {
|
|
||||||
// this.handleSortColors()
|
|
||||||
// }
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {gaugeColors, axes: {y: {prefix, suffix}}} = this.props
|
const {gaugeColors, axes: {y: {prefix, suffix}}} = this.props
|
||||||
|
|
||||||
const disableMaxColor = gaugeColors.length > MIN_THRESHOLDS
|
const disableMaxColor = gaugeColors.length > MIN_THRESHOLDS
|
||||||
const disableAddThreshold = gaugeColors.length > MAX_THRESHOLDS
|
const disableAddThreshold = gaugeColors.length > MAX_THRESHOLDS
|
||||||
// const sortedColors = _.sortBy(gaugeColors, color => color.value)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FancyScrollbar
|
<FancyScrollbar
|
||||||
|
|
Loading…
Reference in New Issue