Skip to content

Commit

Permalink
fix: aggregator name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivien-marble authored and balzdur committed Sep 11, 2023
1 parent 2427c3f commit c57d2d9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
adaptLabelledAst,
adaptLabelledAstFromCustomList,
type AstNode,
getAggregatorName,
getAstNodeLabelName,
isAggregation,
type LabelledAst,
Expand Down Expand Up @@ -67,10 +68,10 @@ export function OperandEditor({
tooltip: '',
astNode: node,
})),
...allAggregators.map((aggregatorName) => ({
label: aggregatorName,
tooltip: '(aggregator)',
astNode: NewAggregatorAstNode(aggregatorName),
...allAggregators.map((aggregator) => ({
label: getAggregatorName(aggregator),
tooltip: '',
astNode: NewAggregatorAstNode(aggregator),
})),
...builder.customLists.map(adaptLabelledAstFromCustomList),
];
Expand Down

0 comments on commit c57d2d9

Please sign in to comment.