From de0652625214220647066adb7946e06e31a8419f Mon Sep 17 00:00:00 2001 From: liuzx Date: Tue, 22 Feb 2022 15:44:22 +0800 Subject: [PATCH] fix-bug --- routers/repo/cloudbrain.go | 2 +- routers/repo/modelarts.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) } }