mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
[lint] turn no-undef back on, set browser, cypress, and mocha env's (#5879)
* [lint] turn no-undef back on, set browser, cypress, and mocha env's, and fix issues * [lint] fix undefined var in TimeTable.jsx
This commit is contained in:
@@ -122,9 +122,9 @@ MapBox.defaultProps = defaultProps;
|
||||
function createReducer(aggregatorName, customMetric) {
|
||||
if (aggregatorName === 'sum' || !customMetric) {
|
||||
return (a, b) => a + b;
|
||||
} else if (aggName === 'min') {
|
||||
} else if (aggregatorName === 'min') {
|
||||
return Math.min;
|
||||
} else if (aggName === 'max') {
|
||||
} else if (aggregatorName === 'max') {
|
||||
return Math.max;
|
||||
}
|
||||
return function (a, b) {
|
||||
|
||||
Reference in New Issue
Block a user