Skip to content

Commit

Permalink
fix: Drill to detail formatted val on TableChart
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Oct 6, 2022
1 parent f1fbaf8 commit f6a3ed2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -633,11 +633,12 @@ export default function TableChart<D extends DataRecord = DataRecord>(
const filters: QueryObjectFilterClause[] = [];
columnsMeta.forEach(col => {
if (!col.isMetric) {
const dataRecordValue = value[col.key];
filters.push({
col: col.key,
op: '==',
val: value[col.key] as string | number | boolean,
formattedVal: String(value[col.key]),
val: dataRecordValue as string | number | boolean,
formattedVal: formatColumnValue(col, dataRecordValue)[1],
});
}
});
Expand Down

0 comments on commit f6a3ed2

Please sign in to comment.