mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 09:08:46 +00:00
Fix tunnel privacy context
This commit is contained in:
parent
20784c13a1
commit
fd640b0b32
1 changed files with 3 additions and 2 deletions
|
@ -420,8 +420,9 @@ class ActionBarRenderer extends Disposable implements ITableRenderer<ActionBarCe
|
|||
const context: [string, any][] =
|
||||
[
|
||||
['view', TUNNEL_VIEW_ID],
|
||||
['tunnelType', element.tunnel.tunnelType],
|
||||
['tunnelCloseable', element.tunnel.closeable]
|
||||
[TunnelTypeContextKey.key, element.tunnel.tunnelType],
|
||||
[TunnelCloseableContextKey.key, element.tunnel.closeable],
|
||||
[TunnelPrivacyContextKey.key, element.tunnel.privacy]
|
||||
];
|
||||
const contextKeyService = this.contextKeyService.createOverlay(context);
|
||||
const disposableStore = new DisposableStore();
|
||||
|
|
Loading…
Reference in a new issue