diff --git a/src/app/modules/viz-module/sub-modules/budgets/time-cycle/index.tsx b/src/app/modules/viz-module/sub-modules/budgets/time-cycle/index.tsx index a332d3b01..9ac613801 100644 --- a/src/app/modules/viz-module/sub-modules/budgets/time-cycle/index.tsx +++ b/src/app/modules/viz-module/sub-modules/budgets/time-cycle/index.tsx @@ -172,7 +172,9 @@ export function BudgetsTimeCycleModule(props: BudgetsTimeCycleModuleProps) { onNodeClick={(node: string, x: number, y: number) => { if (props.drilldownVizSelected) { const idSplits = props.drilldownVizSelected.split("-"); - let code = node.replace(idSplits[0], ""); + let code = node + .replace(idSplits[0], "") + .replace(`-${idSplits[1]}`, ""); code = code.slice(0, code.length - 1); addDataPathSteps([ {