This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new c38ba1daa8 fix(d3-format): call setupFormatters synchronously to apply
D3 format… (#35529)
c38ba1daa8 is described below
commit c38ba1daa8bf2e57292d094098f1a4bea7d0209c
Author: innovark <[email protected]>
AuthorDate: Sat Oct 11 03:33:47 2025 +0300
fix(d3-format): call setupFormatters synchronously to apply D3 format…
(#35529)
---
superset-frontend/src/preamble.ts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/superset-frontend/src/preamble.ts
b/superset-frontend/src/preamble.ts
index 824bde3c15..9d91c574f0 100644
--- a/superset-frontend/src/preamble.ts
+++ b/superset-frontend/src/preamble.ts
@@ -55,6 +55,11 @@ if (process.env.WEBPACK_MODE === 'development') {
// Grab initial bootstrap data
const bootstrapData = getBootstrapData();
+setupFormatters(
+ bootstrapData.common.d3_format,
+ bootstrapData.common.d3_time_format,
+);
+
// Setup SupersetClient early so we can fetch language pack
setupClient({ appRoot: applicationRoot() });
@@ -87,11 +92,6 @@ setupClient({ appRoot: applicationRoot() });
bootstrapData.common.extra_sequential_color_schemes,
);
- setupFormatters(
- bootstrapData.common.d3_format,
- bootstrapData.common.d3_time_format,
- );
-
setupDashboardComponents();
const getMe = makeApi<void, User>({