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 524d619 commit fd25220Copy full SHA for fd25220
statshouse-ui/src/store2/helpers/addPlot.ts
@@ -36,7 +36,8 @@ export function addPlot(
36
});
37
}
38
39
- groupKey ??= plot.group ?? params.orderGroup.slice(-1)[0] ?? '0';
+ const activeGroupKey = params.plots[params.tabNum]?.group;
40
+ groupKey ??= plot.group ?? activeGroupKey ?? params.orderGroup.slice(-1)[0] ?? '0';
41
const size = params.groups[groupKey]?.size ?? '2';
42
const nextPlot = {
43
...plot,
0 commit comments