提交 1f4d9035 编写于 作者: R Rachel Macfarlane

Ensure comments that have pending text are restored

上级 619f3201
......@@ -436,7 +436,8 @@ export class ReviewController implements IEditorContribution {
}
});
added.forEach(thread => {
this.displayCommentThread(e.owner, thread, null, draftMode);
const pendingCommentText = this._pendingCommentCache[e.owner] && this._pendingCommentCache[e.owner][thread.threadId];
this.displayCommentThread(e.owner, thread, pendingCommentText, draftMode);
this._commentInfos.filter(info => info.owner === e.owner)[0].threads.push(thread);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册