Merge pull request 'fix task list bugs' (#170) from tzwang/pcm-coordinator:master into master
Former-commit-id: 2e5c1028a1ae174b64648d61d0e6fe3de1f216b4
This commit is contained in:
commit
e4d9f0a5dd
|
@ -96,6 +96,10 @@ func (l *PageListTaskLogic) updateAitaskStatus(tasks []*types.TaskModel, ch chan
|
|||
return
|
||||
}
|
||||
|
||||
if len(aiTask) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
start, _ := time.ParseInLocation(constants.Layout, aiTask[0].StartTime, time.Local)
|
||||
end, _ := time.ParseInLocation(constants.Layout, aiTask[0].EndTime, time.Local)
|
||||
|
||||
|
|
Loading…
Reference in New Issue