Skip to content

Commit 3958245

Browse files
authored
fix: wrap groupBy single-select value in an array (#1000)
1 parent 05280d6 commit 3958245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/scenes/src/variables/groupby/GroupByVariable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export function GroupByVariableRenderer({ model }: SceneComponentProps<MultiValu
342342
}
343343
if (newValue?.value) {
344344
setUncommittedValue([newValue]);
345-
model.changeValueTo(newValue.value, newValue.label);
345+
model.changeValueTo([newValue.value], newValue.label ? [newValue.label] : undefined);
346346
}
347347
}}
348348
onOpenMenu={async () => {

0 commit comments

Comments
 (0)