status: do not show problem field when none exists
This commit is contained in:
+4
-2
@@ -167,8 +167,10 @@ func (t *tui) draw() {
|
||||
}
|
||||
t.printf("Status: %s", rep.Status)
|
||||
t.newline()
|
||||
t.printf("Problem: %s", rep.Problem)
|
||||
t.newline()
|
||||
if (rep.Problem != "") {
|
||||
t.printf("Problem: %s", rep.Problem)
|
||||
t.newline()
|
||||
}
|
||||
|
||||
for _, fs := range rep.Completed {
|
||||
printFilesystem(fs, t)
|
||||
|
||||
Reference in New Issue
Block a user