mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
Correct header counts for local items converted to stashed ones
This commit is contained in:
parent
912c80651a
commit
b2511c54b0
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ func stashHeaderView(m stashModel) string {
|
|||
}
|
||||
|
||||
localItems := m.countMarkdowns(localMarkdown)
|
||||
stashedItems := m.countMarkdowns(stashedMarkdown)
|
||||
stashedItems := m.countMarkdowns(stashedMarkdown) + m.countMarkdowns(convertedMarkdown)
|
||||
|
||||
// Loading's finished and all we have is news.
|
||||
if !loading && localItems == 0 && stashedItems == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue