提交 af39ef56 编写于 作者: S Sandeep Somavarapu

Fix #37693

上级 835dde0e
......@@ -479,7 +479,7 @@ export class ViewsViewlet extends PanelViewlet {
private canBeVisible(viewDescriptor: IViewDescriptor): boolean {
const viewstate = this.viewsStates.get(viewDescriptor.id);
if (viewstate && viewstate.isHidden) {
if (viewDescriptor.canToggleVisibility && viewstate && viewstate.isHidden) {
return false;
}
return this.contextKeyService.contextMatchesRules(viewDescriptor.when);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册