mirror of
https://github.com/arl/gitmux.git
synced 2026-09-10 07:26:18 -04:00
fix: only render if hideClean is false and there are stashes
This commit is contained in:
parent
395d66dcc3
commit
9e1d05e78b
|
|
@ -267,7 +267,9 @@ func (f *Formater) flags() string {
|
|||
flags = append(flags, fmt.Sprintf("%s%s", f.Styles.Clean, f.Symbols.Clean))
|
||||
}
|
||||
|
||||
return f.Styles.Clear + strings.Join(flags, " ")
|
||||
if len(flags) != 0 {
|
||||
return f.Styles.Clear + strings.Join(flags, " ")
|
||||
}
|
||||
}
|
||||
|
||||
if f.st.NumStaged != 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue