Do not use control flag
This commit is contained in:
parent
e93fe13b41
commit
eceffda87f
@ -213,12 +213,6 @@ module.exports = class AggregationMapConfigAdapter {
|
|||||||
typeof aggregation !== 'boolean' &&
|
typeof aggregation !== 'boolean' &&
|
||||||
typeof aggregation.columns === 'object';
|
typeof aggregation.columns === 'object';
|
||||||
|
|
||||||
let aggregationColumns = [];
|
return hasAggregationColumns ? Object.keys(aggregation.columns) : [];
|
||||||
|
|
||||||
if (hasAggregationColumns) {
|
|
||||||
aggregationColumns = Object.keys(aggregation.columns);
|
|
||||||
}
|
|
||||||
|
|
||||||
return aggregationColumns;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user