Skip to content
Snippets Groups Projects
Commit 3fe1b1e7 authored by Cam Saul's avatar Cam Saul
Browse files

use `var` instead of `const` because linter complains about ES6 features :sob:

parent afacf7c5
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ var GuiQueryEditor = React.createClass({
},
canSortByAggregateField: function() {
const SORTABLE_AGGREGATION_TYPES = new Set(["avg", "count", "distinct", "stddev", "sum"]);
var SORTABLE_AGGREGATION_TYPES = new Set(["avg", "count", "distinct", "stddev", "sum"]);
return this.hasValidBreakout() && SORTABLE_AGGREGATION_TYPES.has(this.props.query.query.aggregation[0]);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment