We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ed6f6 commit ffdaf3eCopy full SHA for ffdaf3e
src/timeMachine/reducers/index.ts
@@ -842,11 +842,12 @@ export const timeMachineReducer = (
842
843
// but for the group aggregate, want to set default values
844
if (builderAggregateFunctionType === 'group') {
845
- draftQuery.builderConfig.tags[
846
- index
847
- ].values = draftQuery.builderConfig.tags
+ const initValues = draftQuery.builderConfig.tags
848
.map(t => t.key)
849
.filter(x => !!x)
+
+ draftQuery.builderConfig.tags[index].values = initValues
850
+ draftState.queryBuilder.tags[index].values = initValues
851
}
852
853
draftQuery.builderConfig.tags[
0 commit comments