提交 4545ffa8 编写于 作者: I isidor

compositeBarActions: null guard for updating badge when it is not yet constructed

fixes #45557
上级 c7880659
......@@ -207,6 +207,10 @@ export class ActivityActionItem extends BaseActionItem {
}
protected updateBadge(badge: IBadge, clazz?: string): void {
if (!this.$badge || !this.$badgeContent) {
return;
}
this.badgeDisposable.dispose();
this.badgeDisposable = empty;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册