Skip to content

Commit

Permalink
Fixed a bug in Transform and Rollup Details pages
Browse files Browse the repository at this point in the history
Signed-off-by: Kshitij Tandon <[email protected]>
  • Loading branch information
tandonks committed Sep 3, 2024
1 parent 7d62d0e commit aac8c34
Show file tree
Hide file tree
Showing 4 changed files with 1,055 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,10 @@ export class RollupDetails extends Component<RollupDetailsProps, RollupDetailsSt
? [BREADCRUMBS.ROLLUPS, { text: id }]
: [BREADCRUMBS.INDEX_MANAGEMENT, BREADCRUMBS.ROLLUPS, { text: id }];
this.context.chrome.setBreadcrumbs(newBreadCrumbs);
this.props.history.push(`${ROUTES.ROLLUP_DETAILS}?id=${id}`);
await this.getRollup(id);
this.forceUpdate();
} else {
this.context.notifications.toasts.addDanger(`Invalid rollup id: ${id}`);
this.props.history.push(ROUTES.ROLLUPS);
}
};

Expand Down
Loading

0 comments on commit aac8c34

Please sign in to comment.