mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
remoteAuthority context key: set to disconnected to avoid matches
This commit is contained in:
parent
dba0ee0392
commit
8968c83198
|
@ -119,7 +119,7 @@ export class RemoteWindowActiveIndicator extends Disposable implements IWorkbenc
|
|||
if (this.disconnected !== isDisconnected) {
|
||||
this.disconnected = isDisconnected;
|
||||
RemoteConnectionState.bindTo(this.contextKeyService).set(isDisconnected ? 'disconnected' : 'connected');
|
||||
Deprecated_RemoteAuthorityContext.bindTo(this.contextKeyService).set(isDisconnected ? '' : this.remoteAuthority || '');
|
||||
Deprecated_RemoteAuthorityContext.bindTo(this.contextKeyService).set(isDisconnected ? '' : this.remoteAuthority || `disconnected/${this.remoteAuthority}`);
|
||||
this.updateWindowIndicator();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue