Skip to content

Commit

Permalink
Fix: collapse expanded values on measure change (#5165)
Browse files Browse the repository at this point in the history
  • Loading branch information
djbarnwal authored Jul 1, 2024
1 parent bf4f4a4 commit 5df95bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ const metricViewReducers = {
setPivotColumns(name: string, value: PivotChipData[]) {
updateMetricsExplorerByName(name, (metricsExplorer) => {
metricsExplorer.pivot.rowPage = 1;
metricsExplorer.pivot.expanded = {};

const dimensions: PivotChipData[] = [];
const measures: PivotChipData[] = [];
Expand Down

1 comment on commit 5df95bb

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.