fix task list bugs
Former-commit-id: c71b8802cd2d99a628175171ca2149e5a870c137
This commit is contained in:
parent
520cfc00d9
commit
dd1142245c
|
@ -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