Remove plug icon from ports view

Part of https://github.com/microsoft/vscode-internalbacklog/issues/1689
This commit is contained in:
Alex Ross 2021-01-18 13:47:33 +01:00
parent 667e41626f
commit 7fa8f1aa7f

View file

@ -42,7 +42,7 @@ import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
import { KeybindingsRegistry, KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
import { ActionViewItem } from 'vs/base/browser/ui/actionbar/actionViewItems';
import { forwardPortIcon, openBrowserIcon, portIcon, portsViewIcon, privatePortIcon, publicPortIcon, stopForwardIcon } from 'vs/workbench/contrib/remote/browser/remoteIcons';
import { forwardPortIcon, openBrowserIcon, portsViewIcon, privatePortIcon, publicPortIcon, stopForwardIcon } from 'vs/workbench/contrib/remote/browser/remoteIcons';
export const forwardedPortsViewEnabled = new RawContextKey<boolean>('forwardedPortsViewEnabled', false);
export const PORT_AUTO_FORWARD_SETTING = 'remote.autoForwardPorts';
@ -519,7 +519,7 @@ class TunnelItem implements ITunnelItem {
switch (this.privacy) {
case TunnelPrivacy.Private: return privatePortIcon;
case TunnelPrivacy.Public: return publicPortIcon;
default: return this.tunnelType === TunnelType.Detected || this.tunnelType === TunnelType.Forwarded ? portIcon : undefined;
default: return undefined;
}
}