diff --git a/ui/pages/selection/selection.go b/ui/pages/selection/selection.go index 80998f30fd1bf07c9ec5973658babfd8fee4cb32..bb4a6ba93e5cd4e3584b8bffd984685f75c312f4 100644 --- a/ui/pages/selection/selection.go +++ b/ui/pages/selection/selection.go @@ -170,11 +170,15 @@ func (s *Selection) Init() tea.Cmd { return common.ErrorCmd(err) } lastUpdate := lc[0].Committer.When - for _, item := range items { + if lastUpdate.IsZero() { + lastUpdate = lc[0].Author.When + } + for i, item := range items { item := item.(Item) if item.repo.Repo() == r.Repo() { exists = true item.lastUpdate = lastUpdate + items[i] = item break } }