Skip to content

Commit

Permalink
fix(bi): bold number should be a table viz for formatting (#27885)
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE authored Jan 24, 2025
1 parent a3fcf57 commit ab89d57
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,10 @@ export const dataVisualizationLogic = kea<dataVisualizationLogicType>([
dataVisualizationProps: [() => [(_, props) => props], (props): DataVisualizationLogicProps => props],
isTableVisualization: [
(state) => [state.visualizationType],
(visualizationType): boolean => visualizationType === ChartDisplayType.ActionsTable,
(visualizationType): boolean =>
// BoldNumber relies on yAxis formatting so it's considered a table visualization
visualizationType === ChartDisplayType.ActionsTable ||
visualizationType === ChartDisplayType.BoldNumber,
],
showTableSettings: [
(state) => [state.visualizationType],
Expand Down

0 comments on commit ab89d57

Please sign in to comment.