diff --git a/client/coral-admin/src/index.js b/client/coral-admin/src/index.js index 736d3efc9..442a4f536 100644 --- a/client/coral-admin/src/index.js +++ b/client/coral-admin/src/index.js @@ -23,6 +23,7 @@ function init({store, storage}) { async function main() { const notification = createNotificationService(toast); const context = await createContext({reducers, graphqlExtension, pluginsConfig, notification, init}); + render( diff --git a/client/coral-framework/services/bootstrap.js b/client/coral-framework/services/bootstrap.js index 492f6cc40..d64b769e3 100644 --- a/client/coral-framework/services/bootstrap.js +++ b/client/coral-framework/services/bootstrap.js @@ -178,6 +178,10 @@ export async function createContext({ await preInit(context); } + if (init) { + await init(context); + } + // Run initialization. await Promise.all([init, plugins.executeInit(context)]); return context;