From d42d90a175a84ee78f2426c10f0abec371f5a658 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 11 Jul 2022 17:58:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 8d069d33b..a7b734bca 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -620,7 +620,7 @@ func ShowModelConvertPageInfo(ctx *context.Context) { ctx.ServerError("Cloudbrain", err) return } - ctx.Data["MODEL_CONVERT_COUNT"] = 0 + ctx.Data["MODEL_CONVERT_COUNT"] = count userIds := make([]int64, len(modelResult)) for i, model := range modelResult { model.IsCanOper = isOper(ctx, model.UserId)