mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix: Drill to detail formatted val on TableChart (#21719)
This commit is contained in:
parent
041c54e656
commit
eb2a1345a8
@ -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],
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user