fix: builds UI

This commit is contained in:
Jason Song
2022-10-21 17:59:29 +08:00
parent dee4f2470b
commit 6531738b2e
3 changed files with 10 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ func List(ctx *context.Context) {
opts.IsClosed = util.OptionalBoolNone
if ctx.FormString("state") == "closed" {
opts.IsClosed = util.OptionalBoolTrue
ctx.Data["IsShowClosed"] = true
} else {
opts.IsClosed = util.OptionalBoolFalse
}