From 7669c69000caeb89b522a8da5987a92240dd9949 Mon Sep 17 00:00:00 2001 From: Alex P Date: Fri, 5 May 2017 11:25:02 -0700 Subject: [PATCH] Follow correct pattern with naming --- ui/src/shared/components/FunctionSelector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/shared/components/FunctionSelector.js b/ui/src/shared/components/FunctionSelector.js index d0dffb898f..20b4fcb1aa 100644 --- a/ui/src/shared/components/FunctionSelector.js +++ b/ui/src/shared/components/FunctionSelector.js @@ -12,7 +12,7 @@ class FunctionSelector extends Component { } this.onSelect = ::this.onSelect - this.onApplyFunctions = ::this.onApplyFunctions + this.handleApplyFunctions = ::this.handleApplyFunctions } onSelect(item, e) { @@ -34,7 +34,7 @@ class FunctionSelector extends Component { return !!this.state.localSelectedItems.find(text => text === item) } - onApplyFunctions(e) { + handleApplyFunctions(e) { e.stopPropagation() this.props.onApply(this.state.localSelectedItems) @@ -52,7 +52,7 @@ class FunctionSelector extends Component { : 'Select functions below' } -
Apply
+
Apply
{INFLUXQL_FUNCTIONS.map((f, i) => {