mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
chore: make TS enums strictly PascalCase (#26875)
This commit is contained in:
@@ -113,7 +113,7 @@ export default {
|
||||
? colnames
|
||||
.filter(
|
||||
(colname: string, index: number) =>
|
||||
coltypes[index] === GenericDataType.NUMERIC,
|
||||
coltypes[index] === GenericDataType.Numeric,
|
||||
)
|
||||
.map(colname => ({
|
||||
value: colname,
|
||||
|
||||
@@ -46,7 +46,7 @@ const metadata = {
|
||||
t('Description'),
|
||||
],
|
||||
thumbnail,
|
||||
behaviors: [Behavior.DRILL_TO_DETAIL],
|
||||
behaviors: [Behavior.DrillToDetail],
|
||||
};
|
||||
|
||||
export default class BigNumberTotalChartPlugin extends EchartsChartPlugin<
|
||||
|
||||
@@ -85,8 +85,8 @@ export default function transformProps(
|
||||
);
|
||||
|
||||
const headerFormatter =
|
||||
coltypes[0] === GenericDataType.TEMPORAL ||
|
||||
coltypes[0] === GenericDataType.STRING ||
|
||||
coltypes[0] === GenericDataType.Temporal ||
|
||||
coltypes[0] === GenericDataType.String ||
|
||||
forceTimestampFormatting
|
||||
? formatTime
|
||||
: numberFormatter;
|
||||
|
||||
Reference in New Issue
Block a user