Browse Source

fix-2643

pull/2752/head
liuzx 2 years ago
parent
commit
3e965bd99b
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