Correct header counts for local items converted to stashed ones

This commit is contained in:
Christian Rocha 2020-08-25 09:46:52 -04:00 committed by Christian Muehlhaeuser
commit b2511c54b0

View file

@ -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 {