Merge pull request #3194 from influxdata/fix-threshold-removal
Fix function signature for threshold deletionpull/10616/head
commit
e5f2bf56c9
|
@ -59,7 +59,7 @@ class GaugeOptions extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
handleDeleteThreshold = threshold => () => {
|
||||
handleDeleteThreshold = threshold => {
|
||||
const {handleUpdateGaugeColors, onResetFocus} = this.props
|
||||
const gaugeColors = this.props.gaugeColors.filter(
|
||||
color => color.id !== threshold.id
|
||||
|
|
|
@ -65,7 +65,7 @@ class ThresholdsList extends Component {
|
|||
onResetFocus()
|
||||
}
|
||||
|
||||
handleDeleteThreshold = threshold => () => {
|
||||
handleDeleteThreshold = threshold => {
|
||||
const {
|
||||
handleUpdateThresholdsListColors,
|
||||
onResetFocus,
|
||||
|
|
Loading…
Reference in New Issue