mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
chore: make TS enums strictly PascalCase (#26875)
This commit is contained in:
@@ -439,8 +439,8 @@ export default function PivotTableChart(props: PivotTableProps) {
|
||||
rowSubTotals,
|
||||
highlightHeaderCellsOnHover:
|
||||
emitCrossFilters ||
|
||||
isFeatureEnabled(FeatureFlag.DRILL_BY) ||
|
||||
isFeatureEnabled(FeatureFlag.DRILL_TO_DETAIL),
|
||||
isFeatureEnabled(FeatureFlag.DrillBy) ||
|
||||
isFeatureEnabled(FeatureFlag.DrillToDetail),
|
||||
highlightedHeaderCells: selectedFilters,
|
||||
omittedHighlightHeaderGroups: [METRIC_KEY],
|
||||
cellColorFormatters: { [METRIC_KEY]: metricColorFormatters },
|
||||
|
||||
@@ -48,9 +48,9 @@ export default class PivotTableChartPlugin extends ChartPlugin<
|
||||
constructor() {
|
||||
const metadata = new ChartMetadata({
|
||||
behaviors: [
|
||||
Behavior.INTERACTIVE_CHART,
|
||||
Behavior.DRILL_TO_DETAIL,
|
||||
Behavior.DRILL_BY,
|
||||
Behavior.InteractiveChart,
|
||||
Behavior.DrillToDetail,
|
||||
Behavior.DrillBy,
|
||||
],
|
||||
category: t('Table'),
|
||||
description: t(
|
||||
|
||||
@@ -112,7 +112,7 @@ export default function transformProps(chartProps: ChartProps<QueryFormData>) {
|
||||
const dateFormatters = colnames
|
||||
.filter(
|
||||
(colname: string, index: number) =>
|
||||
coltypes[index] === GenericDataType.TEMPORAL,
|
||||
coltypes[index] === GenericDataType.Temporal,
|
||||
)
|
||||
.reduce(
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user