mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: Drill to detail formatted val on TableChart (#21719)
This commit is contained in:
committed by
GitHub
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],
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user