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
commit 7ba1c6de6b2351e4f124dbcd23e297c6372a3160 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], );
