提交 8e2bf317 编写于 作者: I isidor

explorer: empty do not show connecting for web

上级 1478853b
......@@ -24,6 +24,7 @@ import { SIDE_BAR_BACKGROUND } from 'vs/workbench/common/theme';
import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService';
import { ILabelService } from 'vs/platform/label/common/label';
import { Schemas } from 'vs/base/common/network';
import { isWeb } from 'vs/base/common/platform';
export class EmptyView extends ViewletPanel {
......@@ -123,7 +124,7 @@ export class EmptyView extends ViewletPanel {
}
this.titleElement.textContent = EmptyView.NAME;
} else {
if (this.environmentService.configuration.remoteAuthority) {
if (this.environmentService.configuration.remoteAuthority && !isWeb) {
const hostLabel = this.labelService.getHostLabel(Schemas.vscodeRemote, this.environmentService.configuration.remoteAuthority);
this.messageElement.textContent = hostLabel ? nls.localize('remoteNoFolderHelp', "Connected to {0}", hostLabel) : nls.localize('connecting', "Connecting...");
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册