提交 b41d9893 编写于 作者: B Benjamin Pasero

fix npe in extension tips

上级 f703a391
......@@ -131,6 +131,9 @@ export class ExtensionTipsStatusbarItem implements statusbar.IStatusbarItem {
}
private _onTips(tips: IExtension[]): void {
if (!this._domNode) {
return;
}
if (tips.length === 0) {
dom.addClass(this._domNode, 'disabled');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册