villebro commented on a change in pull request #18216:
URL: https://github.com/apache/superset/pull/18216#discussion_r794525158
##########
File path: superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
##########
@@ -88,9 +88,6 @@ export function formatSeriesName(
if (name === undefined || name === null) {
return NULL_STRING;
}
- if (typeof name === 'number') {
Review comment:
The order of these affects the result - temporal columns are almost
always epochs (`number`), and therefore the number formatter was always used on
them. Now the "original" type of the column is first checked (based on
`is_dttm` coming from the backend), so temporal numerical names will now be
properly identified.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]