提交 821e2867 编写于 作者: R Rachel Macfarlane

Fix updates to comment thread expansion state

上级 dad0cbc9
......@@ -381,13 +381,10 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget
this.show({ lineNumber, column: 1 }, 2);
}
// The collapsible state is not initialized yet.
if (this._isExpanded === undefined) {
if (this._commentThread.collapsibleState === modes.CommentThreadCollapsibleState.Expanded) {
this.show({ lineNumber, column: 1 }, 2);
} else {
this.hide();
}
if (this._commentThread.collapsibleState === modes.CommentThreadCollapsibleState.Expanded) {
this.show({ lineNumber, column: 1 }, 2);
} else {
this.hide();
}
if (this._commentThread.contextValue) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册