Skip to content

Commit fae2fdc

Browse files
authored
Coding agent PR description doesn't refresh (#7541)
Fixes #7524
1 parent 585f968 commit fae2fdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/github/issueModel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ export class IssueModel<TItem extends Issue = Issue> extends Disposable {
156156
if (issue.titleHTML && this.titleHTML !== issue.titleHTML) {
157157
this.titleHTML = issue.titleHTML;
158158
}
159+
if ((!this.bodyHTML || (issue.body !== this.body)) && this.bodyHTML !== issue.bodyHTML) {
160+
this.bodyHTML = issue.bodyHTML;
161+
}
159162
if (this.body !== issue.body) {
160163
changes.body = true;
161164
this.body = issue.body;
162165
}
163-
if ((!this.bodyHTML || (issue.body !== this.body)) && this.bodyHTML !== issue.bodyHTML) {
164-
this.bodyHTML = issue.bodyHTML;
165-
}
166166
if (this.milestone?.id !== issue.milestone?.id) {
167167
changes.milestone = true;
168168
this.milestone = issue.milestone;

0 commit comments

Comments
 (0)