Skip to content

Commit

Permalink
Fixes Launchpad indicator not waiting for the container
Browse files Browse the repository at this point in the history
  • Loading branch information
axosoft-ramint committed Jan 22, 2025
1 parent e4580ae commit 46b1e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plus/launchpad/launchpadIndicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type { HostingIntegrationId } from '../../constants.integrations';
import type { Container } from '../../container';
import { executeCommand, registerCommand } from '../../system/-webview/command';
import { configuration } from '../../system/-webview/configuration';
import { once } from '../../system/event';
import { groupByMap } from '../../system/iterable';
import { wait } from '../../system/promise';
import { pluralize } from '../../system/string';
Expand Down Expand Up @@ -41,10 +42,9 @@ export class LaunchpadIndicator implements Disposable {
provider.onDidRefresh(this.onLaunchpadRefreshed, this),
configuration.onDidChange(this.onConfigurationChanged, this),
container.integrations.onDidChangeConnectionState(this.onConnectedIntegrationsChanged, this),
once(container.onReady)(this.onReady, this),
...this.registerCommands(),
);

void this.onReady();
}

dispose() {
Expand Down

0 comments on commit 46b1e6c

Please sign in to comment.