Skip to content

Commit

Permalink
fix: budgets drill down treemap grant link
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoshadjipetrou committed Nov 30, 2022
1 parent 644dae1 commit 26cb649
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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([
{
Expand Down

0 comments on commit 26cb649

Please sign in to comment.