Browse Source

fix-bug

tags/v1.22.2.2^2
liuzx 3 years ago
parent
commit
de06526252
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      routers/repo/cloudbrain.go
  2. +1
    -1
      routers/repo/modelarts.go

+ 1
- 1
routers/repo/cloudbrain.go View File

@@ -591,7 +591,7 @@ func CloudBrainDel(ctx *context.Context) {
if ctx.IsUserSiteAdmin() && isAdminPage == "true" {
ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains")
} else {
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=all")
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=" + listType)
}
}



+ 1
- 1
routers/repo/modelarts.go View File

@@ -449,7 +449,7 @@ func NotebookDel(ctx *context.Context) {
if ctx.IsUserSiteAdmin() && isAdminPage == "true" {
ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains")
} else {
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=all")
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=" + listType)
}
}



Loading…
Cancel
Save