This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch sc_74037
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/sc_74037 by this push:
new b80cb7046c Small fix
b80cb7046c is described below
commit b80cb7046c24aa4313fa9a1ecb0c80a6bd00aa86
Author: Beto Dealmeida <[email protected]>
AuthorDate: Mon Sep 25 14:21:53 2023 -0700
Small fix
---
.../src/filters/components/Select/SelectFilterPlugin.tsx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git
a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
index 87b39e6f1e..39bb4e5798 100644
--- a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
+++ b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
@@ -26,7 +26,6 @@ import {
GenericDataType,
getColumnLabel,
JsonObject,
- smartDateDetailedFormatter,
finestTemporalGrainFormatter,
t,
tn,
@@ -118,10 +117,7 @@ export default function PluginFilterSelect(props:
PluginFilterSelectProps) {
const labelFormatter = useMemo(
() =>
getDataRecordFormatter({
- timeFormatter:
- datatype === GenericDataType.TEMPORAL
- ? finestTemporalGrainFormatter(data.map(el => el.col))
- : smartDateDetailedFormatter,
+ timeFormatter: finestTemporalGrainFormatter(data.map(el => el.col)),
}),
[data, datatype],
);