From 4a04800a688cd1514f72c66bdd6849a9d565ba71 Mon Sep 17 00:00:00 2001 From: Mojmir Vinkler Date: Wed, 2 Oct 2024 22:22:23 +0200 Subject: [PATCH] :bug: Pass DATA_API_URL to Grapher in mdims to make them work on staging servers (#3998) --- site/multiDim/MultiDimDataPageContent.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/site/multiDim/MultiDimDataPageContent.tsx b/site/multiDim/MultiDimDataPageContent.tsx index 9c46ce86c36..a10fbe141c4 100644 --- a/site/multiDim/MultiDimDataPageContent.tsx +++ b/site/multiDim/MultiDimDataPageContent.tsx @@ -264,6 +264,7 @@ export const MultiDimDataPageContent = ({ ...currentView?.config, dimensions: dimensionsConfig, ...baseConfig, + dataApiUrl: DATA_API_URL, // TODO: The way manager and slug are set here are just workarounds to make the edit button in the // share menu work. They should be removed before we publish MDims! manager: {