Show remote indicator in web when remoteAuthority is set (#183728)

This commit is contained in:
Martin Aeschlimann 2023-05-29 19:57:36 +02:00 committed by GitHub
parent c26003f37a
commit 7b2a460d1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,7 +374,7 @@ export class RemoteStatusIndicator extends Disposable implements IWorkbenchContr
}
// Show for remote windows on the desktop, but not when in code server web
if (this.remoteAuthority && (!isWeb || this.environmentService.options?.webSocketFactory)) {
if (this.remoteAuthority) {
const hostLabel = this.labelService.getHostLabel(Schemas.vscodeRemote, this.remoteAuthority) || this.remoteAuthority;
switch (this.connectionState) {
case 'initializing':