From d7aa501ba10a07936afdd3f5d232f621ed6bb202 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 6 Jan 2023 09:57:36 +0800 Subject: [PATCH] fix: NumClosedActionRuns --- routers/web/repo/actions/actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/repo/actions/actions.go b/routers/web/repo/actions/actions.go index 205feaf35c..146bf27daf 100644 --- a/routers/web/repo/actions/actions.go +++ b/routers/web/repo/actions/actions.go @@ -105,7 +105,7 @@ func List(ctx *context.Context) { ctx.Error(http.StatusInternalServerError, err.Error()) return } - ctx.Data["NumClosedRuns"] = numClosedRuns + ctx.Data["NumClosedActionRuns"] = numClosedRuns opts.IsClosed = util.OptionalBoolNone if ctx.FormString("state") == "closed" {