diff --git a/packages/plugin-ext/src/hosted/browser/hosted-plugin.ts b/packages/plugin-ext/src/hosted/browser/hosted-plugin.ts index 44f5245452030..9c3be29f03cbd 100644 --- a/packages/plugin-ext/src/hosted/browser/hosted-plugin.ts +++ b/packages/plugin-ext/src/hosted/browser/hosted-plugin.ts @@ -364,7 +364,7 @@ export class HostedPluginSupport { if (contributions.state === PluginContributions.State.LOADED) { contributions.state = PluginContributions.State.STARTING; const host = plugin.model.entryPoint.frontend ? 'frontend' : plugin.host; - const dynamicContributions = hostContributions.get(plugin.host) || []; + const dynamicContributions = hostContributions.get(host) || []; dynamicContributions.push(contributions); hostContributions.set(host, dynamicContributions); toDisconnect.push(Disposable.create(() => {