mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
chore: make TS enums strictly PascalCase (#26875)
This commit is contained in:
@@ -339,7 +339,7 @@ export default function transformProps(
|
||||
if (value === TOTAL_MARK) {
|
||||
return TOTAL_MARK;
|
||||
}
|
||||
if (coltypeMapping[xAxisColumns[index]] === GenericDataType.TEMPORAL) {
|
||||
if (coltypeMapping[xAxisColumns[index]] === GenericDataType.Temporal) {
|
||||
if (typeof value === 'string') {
|
||||
return getTimeFormatter(xAxisTimeFormat)(Number.parseInt(value, 10));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user