Fix tunnel privacy context

This commit is contained in:
Alex Ross 2021-04-14 15:45:14 +02:00
parent 20784c13a1
commit fd640b0b32
No known key found for this signature in database
GPG key ID: 89DDDBA66CBA7840

View file

@ -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();