File tree Expand file tree Collapse file tree
apps/web/src/components/pullRequest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2712,6 +2712,7 @@ export function PullRequestDetailPanel({
27122712 fixCheckLabel = { handoffLabels . fixCheck }
27132713 onFixFinding = { startFixFinding }
27142714 onRefresh = { refreshDetail }
2715+ onRefreshChecks = { refreshFromHost }
27152716 />
27162717 </ div >
27172718 ) : null }
Original file line number Diff line number Diff line change @@ -468,6 +468,7 @@ export function PullRequestSummaryTab({
468468 fixCheckLabel = "Fix" ,
469469 onFixFinding,
470470 onRefresh,
471+ onRefreshChecks = onRefresh ,
471472} : {
472473 environmentId : EnvironmentId ;
473474 threadRef : ScopedThreadRef | null ;
@@ -482,6 +483,7 @@ export function PullRequestSummaryTab({
482483 fixCheckLabel ?: string ;
483484 onFixFinding ?: ( finding : PullRequestFinding ) => void ;
484485 onRefresh : ( ) => void ;
486+ onRefreshChecks ?: ( ) => void ;
485487} ) {
486488 // Keyed by the pull request, so opening another one starts at the end of its conversation
487489 // rather than wherever the last one had been read back to.
@@ -877,7 +879,7 @@ export function PullRequestSummaryTab({
877879 { checksStale ? (
878880 < div className = "flex items-center gap-2 text-xs text-muted-foreground" >
879881 < span > Check details are out of date.</ span >
880- < Button size = "xs" variant = "ghost" onClick = { onRefresh } >
882+ < Button size = "xs" variant = "ghost" onClick = { onRefreshChecks } >
881883 Refresh
882884 </ Button >
883885 </ div >
You can’t perform that action at this time.
0 commit comments