diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts index b78e5cec0b27..cdd00d9996a4 100644 --- a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts +++ b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts @@ -143,6 +143,7 @@ export function createPluginStartContext< navigateToApp: deps.application.navigateToApp, navigateToUrl: deps.application.navigateToUrl, getUrlForApp: deps.application.getUrlForApp, + isAppRegistered: deps.application.isAppRegistered, currentLocation$: deps.application.currentLocation$, }, customBranding: deps.customBranding, diff --git a/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx b/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx index c05ca6a920cb..313c7c8e3b1c 100644 --- a/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx +++ b/x-pack/plugins/triggers_actions_ui/.storybook/context/application.tsx @@ -24,6 +24,7 @@ export const getDefaultServicesApplication = ( navigateToApp: async (app: string) => { action(`Navigate to: ${app}`); }, + isAppRegistered: (appId: string) => true, getUrlForApp: (url: string) => url, capabilities: getDefaultCapabilities(), applications$: of(applications),