fix: builds UI

This commit is contained in:
Jason Song
2022-11-25 17:48:46 +08:00
parent dee4f2470b
commit 6531738b2e
3 changed files with 10 additions and 3 deletions
+1
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
}