Skip to content

Commit

Permalink
Use correct host id for front-end plugins (eclipse-theia#9902)
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy authored and federicobozzini committed Aug 24, 2022
1 parent 8fb3fd0 commit 8cebb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-ext/src/hosted/browser/hosted-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,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(() => {
Expand Down

0 comments on commit 8cebb9a

Please sign in to comment.