优化: 任务日志查询速度并显示用户详情 (#2905)
* perf: task log show userinfo * feat: add Tooltip component to TaskLogsColumnDefs
This commit is contained in:
@@ -234,12 +234,6 @@ func TaskGetAllTasks(startIdx int, num int, queryParams SyncTaskQueryParams) []*
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, task := range tasks {
|
||||
if cache, err := GetUserCache(task.UserId); err == nil {
|
||||
task.Username = cache.Username
|
||||
}
|
||||
}
|
||||
|
||||
return tasks
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user