mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
update to fix commitlog message
This commit is contained in:
@@ -70,7 +70,7 @@ func initialModel() (model, error) {
|
||||
if err != nil {
|
||||
return m, err
|
||||
}
|
||||
// m.CommitLogModel, err = NewCommitLog()
|
||||
m.CommitLogModel, err = NewCommitLog()
|
||||
if err != nil {
|
||||
return m, err
|
||||
}
|
||||
@@ -109,7 +109,11 @@ func (m CommitLog) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
m.Selected--
|
||||
}
|
||||
default:
|
||||
// m.Commits = commits.CommitSet
|
||||
mr := commits.RepoSet(m.Repos)
|
||||
cis, err := mr.GetRepoCommits(m.Year, m.Authors)
|
||||
if err != nil {
|
||||
m.Commits = cis
|
||||
}
|
||||
}
|
||||
}
|
||||
return m, nil
|
||||
|
||||
Reference in New Issue
Block a user