Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmadom committed Jan 9, 2025
1 parent 1427bb4 commit cd6b5c9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ export function preparePieData(args: PrepareFunctionArgs) {
formattedNameParts.push(String(getFormattedValue(dimensionValue, dimensionField)));
}

const pointName: string | WrappedHTML =
legendParts.join(': ') || getFakeTitleOrTitle(measure);
const pointName = legendParts.join(': ') || getFakeTitleOrTitle(measure);
const drillDownFilterValue = pointName;
const shouldWrapPointName = isHtmlColor || isHtmlDimension;

Expand Down

0 comments on commit cd6b5c9

Please sign in to comment.