提交 790c574c 编写于 作者: R Rob Lourens

Fix microsoft/vscode-remote-release#1573

上级 f7efcef2
......@@ -433,8 +433,10 @@ export class RemoteViewlet extends ViewContainerViewlet implements IViewModel {
}
const descriptorAuthority = descriptor.viewDescriptor.remoteAuthority;
if (typeof descriptorAuthority === 'undefined' || descriptor.viewDescriptor.id === HelpPanel.ID) {
if (typeof descriptorAuthority === 'undefined') {
panel.setExpanded(true);
} else if (descriptor.viewDescriptor.id === HelpPanel.ID) {
// Do nothing, keep the default behavior for Help
} else {
const descriptorAuthorityArr = Array.isArray(descriptorAuthority) ? descriptorAuthority : [descriptorAuthority];
if (descriptorAuthorityArr.indexOf(actualRemoteAuthority) >= 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册