diff --git a/src/plus/integrations/integrationService.ts b/src/plus/integrations/integrationService.ts index 209ed7b0acce9..1e226d21348c3 100644 --- a/src/plus/integrations/integrationService.ts +++ b/src/plus/integrations/integrationService.ts @@ -964,9 +964,9 @@ export class IntegrationService implements Disposable { return this.getMyPullRequestsCore(integrations); } - isMaybeConnected(remote: GitRemote): boolean { + isMaybeConnected(remote: GitRemote): boolean | undefined { if (remote.provider?.id != null && this.supports(remote.provider.id)) { - return this.getByRemoteCached(remote)?.maybeConnected ?? false; + return this.getByRemoteCached(remote)?.maybeConnected; } return false; }