Skip to content

Commit

Permalink
Use correct host id for front-end plugins (#9902)
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy authored Aug 20, 2021
1 parent 0bc2375 commit 8492480
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 @@ -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(() => {
Expand Down

0 comments on commit 8492480

Please sign in to comment.