diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index 344115977..880d28dcf 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -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) } } diff --git a/routers/repo/modelarts.go b/routers/repo/modelarts.go index 4e76b8d3a..60e58ab52 100755 --- a/routers/repo/modelarts.go +++ b/routers/repo/modelarts.go @@ -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) } }