Browse Source

Merge pull request 'fix-2643' (#2752) from fix-2643 into V20220830

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2752
Reviewed-by: lewis <747342561@qq.com>
tags/v1.22.8.2^2
lewis 3 years ago
parent
commit
8618ab779b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/api/v1/repo/cloudbrain_dashboard.go

+ 1
- 1
routers/api/v1/repo/cloudbrain_dashboard.go View File

@@ -764,7 +764,7 @@ func GetCloudbrainsDetailData(ctx *context.Context) {

taskDetail.WaitTime = repo.GetCloudbrainWaitTime(ciTasks[i].Cloudbrain)

if ciTasks[i].Cloudbrain.DeletedAt != nilTime {
if ciTasks[i].Cloudbrain.DeletedAt != nilTime || ciTasks[i].Repo == nil {
taskDetail.IsDelete = true
} else {
taskDetail.IsDelete = false


Loading…
Cancel
Save