This is an automated email from the ASF dual-hosted git repository.
johnbodley 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 9ffcd6410e fix(embed): an error occurred while rendering the
visualization: error: Item with key ... is not registered. (#26398)
9ffcd6410e is described below
commit 9ffcd6410eb39c2cc911707e1b264df4a1b74a8c
Author: Boris Strelchik <[email protected]>
AuthorDate: Wed Jan 3 18:15:28 2024 +0000
fix(embed): an error occurred while rendering the visualization: error:
Item with key ... is not registered. (#26398)
---
superset-frontend/src/embedded/index.tsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/superset-frontend/src/embedded/index.tsx
b/superset-frontend/src/embedded/index.tsx
index 50c026fba8..27c80e9279 100644
--- a/superset-frontend/src/embedded/index.tsx
+++ b/superset-frontend/src/embedded/index.tsx
@@ -23,6 +23,7 @@ import { makeApi, t, logging } from '@superset-ui/core';
import Switchboard from '@superset-ui/switchboard';
import getBootstrapData from 'src/utils/getBootstrapData';
import setupClient from 'src/setup/setupClient';
+import setupPlugins from 'src/setup/setupPlugins';
import { RootContextProviders } from 'src/views/RootContextProviders';
import { store, USER_LOADED } from 'src/views/store';
import ErrorBoundary from 'src/components/ErrorBoundary';
@@ -32,6 +33,8 @@ import ToastContainer from
'src/components/MessageToasts/ToastContainer';
import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes';
import { embeddedApi } from './api';
+setupPlugins();
+
const debugMode = process.env.WEBPACK_MODE === 'development';
const bootstrapData = getBootstrapData();