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.printf("Status: %s", rep.Status)
|
||||||
t.newline()
|
t.newline()
|
||||||
t.printf("Problem: %s", rep.Problem)
|
if (rep.Problem != "") {
|
||||||
t.newline()
|
t.printf("Problem: %s", rep.Problem)
|
||||||
|
t.newline()
|
||||||
|
}
|
||||||
|
|
||||||
for _, fs := range rep.Completed {
|
for _, fs := range rep.Completed {
|
||||||
printFilesystem(fs, t)
|
printFilesystem(fs, t)
|
||||||
|
|||||||
Reference in New Issue
Block a user