Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions internal/ui/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4251,6 +4251,11 @@ func (m *AppModel) refreshAllPRs() tea.Cmd {
// Create messages for tasks in this repo
for _, task := range tasks {
info := prsByBranch[task.BranchName]
// If batch fetch didn't include this branch (common for closed tasks
// with older closed PRs), fall back to individual fetch
if info == nil && task.BranchName != "" {
info = prCache.GetPRForBranch(repoDir, task.BranchName)
}
results = append(results, prInfoMsg{taskID: task.ID, info: info})
}
}
Expand Down