mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-20 21:54:19 +08:00
Fixed abnormal message rendering caused by abnormal value of indicator name field, Supplement for PR #2030 (#2031)
This commit is contained in:
@@ -51,7 +51,7 @@ const MetricTrend: React.FC<Props> = ({
|
||||
const dateField: any = queryColumns?.find(
|
||||
(column: any) => column.showType === 'DATE' || column.type === 'DATE'
|
||||
);
|
||||
const dateColumnName = dateField?.nameEn || '';
|
||||
const dateColumnName = dateField?.bizName || '';
|
||||
const categoryColumnName =
|
||||
queryColumns?.find((column: any) => column.showType === 'CATEGORY')?.bizName || '';
|
||||
const metricFields = queryColumns?.filter((column: any) => column.showType === 'NUMBER');
|
||||
|
||||
Reference in New Issue
Block a user