mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 14:14:17 +00:00
Don't say we haven't found anything until we're done searching
This commit is contained in:
parent
25a5e6ee10
commit
b831afc966
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ func stashHeaderView(m stashModel) string {
|
|||
stashedItems := m.countMarkdowns(stashedMarkdown)
|
||||
|
||||
// Loading's finished and all we have is news.
|
||||
if localItems == 0 && stashedItems == 0 {
|
||||
if !loading && localItems == 0 && stashedItems == 0 {
|
||||
return common.Subtle("No local or stashed markdown files found.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue