Fix Microsoft/vscode-remote/issues/1557

This commit is contained in:
Sandeep Somavarapu 2019-04-24 12:32:06 +02:00
parent 32dc6a831b
commit 1cf51f4f5b

View file

@ -379,12 +379,12 @@ export class RuntimeExtensionsEditor extends BaseEditor {
if (element.description.extensionLocation.scheme !== 'file') {
const el = $('span');
el.innerHTML = renderOcticons(`$(rss) ${element.description.extensionLocation.authority}`);
el.innerHTML = renderOcticons(`$(remote) ${element.description.extensionLocation.authority}`);
data.msgContainer.appendChild(el);
const hostLabel = this._labelService.getHostLabel(REMOTE_HOST_SCHEME, this._environmentService.configuration.remoteAuthority);
if (hostLabel) {
el.innerHTML = renderOcticons(`$(rss) ${hostLabel}`);
el.innerHTML = renderOcticons(`$(remote) ${hostLabel}`);
}
}