diff --git a/ui/src/kapacitor/components/Threshold.js b/ui/src/kapacitor/components/Threshold.js index 5136c3ea6..462ee2d80 100644 --- a/ui/src/kapacitor/components/Threshold.js +++ b/ui/src/kapacitor/components/Threshold.js @@ -4,6 +4,7 @@ import Dropdown from 'shared/components/Dropdown' const mapToItems = (arr, type) => arr.map(text => ({text, type})) const operators = mapToItems(OPERATORS, 'operator') +const noopSubmit = e => e.preventDefault() const Threshold = ({ rule: {values: {operator, value, rangeValue}}, @@ -24,7 +25,7 @@ const Threshold = ({ selected={operator} onChoose={onDropdownChange} /> -