Skip to content

Commit 14844d5

Browse files
authored
PR review status doesn't show upon change (#7238)
Part of #7232
1 parent c45be04 commit 14844d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webviews/common/context.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class PRContext {
186186
if (reviewers) {
187187
state.reviewers = reviewers;
188188
}
189-
state.events = events;
189+
state.events = events.length === 0 ? state.events : [...state.events, ...events];
190190
if (reviewedEvent.event === EventType.Reviewed) {
191191
state.currentUserReviewState = reviewedEvent.state;
192192
}

0 commit comments

Comments
 (0)