提交 878fc5dd 编写于 作者: R Rachel Macfarlane

Fix #76901, comment reaction rendered below comment unnecessarily

上级 55f4cded
...@@ -718,7 +718,7 @@ export class CommentNode extends Disposable { ...@@ -718,7 +718,7 @@ export class CommentNode extends Disposable {
this._reactionsActionBar.clear(); this._reactionsActionBar.clear();
} }
if (this.comment.commentReactions && this.comment.commentReactions.length) { if (this.comment.commentReactions && this.comment.commentReactions.some(reaction => !!reaction.count)) {
this.createReactionsContainer(this._commentDetailsContainer); this.createReactionsContainer(this._commentDetailsContainer);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册