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 16917cf commit 41408d7Copy full SHA for 41408d7
statshouse-ui/src/url2/urlDecode.ts
@@ -54,8 +54,9 @@ export function urlDecode(
54
uniqueArray([...variableKeys, ...defaultParams.orderVariables]),
55
defaultParams
56
);
57
- if (groups.orderGroup.length === 1 && groups.groups[0]?.count !== plots.orderPlot.length) {
58
- groups.groups[0]!.count = plots.orderPlot.length;
+ //fix lose plot
+ if (groups.orderGroup.length === 1 && groups.groups[groups.orderGroup[0]]?.count !== plots.orderPlot.length) {
59
+ groups.groups[groups.orderGroup[0]]!.count = plots.orderPlot.length;
60
}
61
return {
62
...global,
0 commit comments