mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
fix(embed): an error occurred while rendering the visualization: error: Item with key ... is not registered. (#26398)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user