diff --git a/ui/stashhelp.go b/ui/stashhelp.go index 01a0458..6c0b474 100644 --- a/ui/stashhelp.go +++ b/ui/stashhelp.go @@ -137,7 +137,11 @@ func (m stashModel) helpView() (string, int) { } appHelp = append(appHelp, "r", "refresh") - appHelp = append(appHelp, "e", "edit") + + if numDocs > 0 { + appHelp = append(appHelp, "e", "edit") + } + appHelp = append(appHelp, "q", "quit") // Detailed help