Skip to content

Commit

Permalink
hide loading message during pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
kyu08 authored and dlvhdr committed Jun 2, 2024
1 parent 2447fff commit 9d27687
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/components/prssection/prssection.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,11 @@ func (m *Model) FetchNextPageSectionRows() []tea.Cmd {
}
cmds = append(cmds, fetchCmd)

m.Table.SetIsLoading(true)
cmds = append(cmds, m.Table.StartLoadingSpinner())
if m.PageInfo == nil {
m.Table.SetIsLoading(true)
cmds = append(cmds, m.Table.StartLoadingSpinner())

}

return cmds
}
Expand Down

0 comments on commit 9d27687

Please sign in to comment.