提交 b33113d4 编写于 作者: N Nick Snyder 提交者: Benjamin Pasero

Only update viewlet switcher if it has already been rendered (#28568)

上级 723bc3b3
......@@ -293,6 +293,11 @@ export class ActivitybarPart extends Part implements IActivityBarService {
}
private updateViewletSwitcher() {
if (!this.viewletSwitcherBar) {
// We have not been rendered yet so there is nothing to update.
return;
}
let viewletsToShow = this.getPinnedViewlets();
// Always show the active viewlet even if it is marked to be hidden
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册