diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 4c70457f1..7490ff23f 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -83,9 +83,7 @@ func (gui *Gui) refreshGithubPullRequests() { gui.Log.Error(err) } - if len(prs) > 0 { - gui.State.GithubRecentPRs = prs - } + gui.State.GithubRecentPRs = prs } // specific functions