fix: show block icon

This commit is contained in:
Jason Song
2022-11-25 17:48:47 +08:00
parent 465c348922
commit 64eb15b73c
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -133,8 +133,9 @@ func ViewPost(ctx *context.Context) {
}
resp.StateData.CurrentJobInfo.Title = current.Name
resp.StateData.CurrentJobSteps = make([]ViewJobStep, 0)
resp.LogsData.StreamingLogs = make([]ViewStepLog, 0, len(req.StepLogCursors))
if current.TaskID == 0 {
if task == nil {
resp.StateData.CurrentJobInfo.Detail = "wait to be pick up by a runner"
} else {
resp.StateData.CurrentJobInfo.Detail = "TODO: more detail info" // TODO: more detail info