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.columns === 'object';
|
||||
|
||||
let aggregationColumns = [];
|
||||
|
||||
if (hasAggregationColumns) {
|
||||
aggregationColumns = Object.keys(aggregation.columns);
|
||||
}
|
||||
|
||||
return aggregationColumns;
|
||||
return hasAggregationColumns ? Object.keys(aggregation.columns) : [];
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user