Skip to content

Commit d886222

Browse files
committed
fix(web): refresh pull request sizes after host actions
1 parent 808b184 commit d886222

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/routes/_chat.pull-requests.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,10 +1950,10 @@ function PullRequestsRouteView() {
19501950
) ?? null
19511951
}
19521952
refreshToken={detailRefreshToken}
1953-
// Merging, closing or reopening changes the row this panel was opened from, so
1954-
// the list behind it is out of date the moment the host takes the action.
1953+
// Host actions can change both readiness and diff size, so refresh the counts
1954+
// alongside the list before ranking the updated row.
19551955
onActed={() => {
1956-
refreshList(true);
1956+
void refreshFromHost();
19571957
}}
19581958
/>
19591959
</RightPanelTabs>

0 commit comments

Comments
 (0)