From 7a5c1eeba71812fdae5a0a5a2731e5f30dde7812 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 8 Jun 2022 12:24:38 +0200 Subject: [PATCH] admin: Fix flag edition --- admin/api/exercice.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/api/exercice.go b/admin/api/exercice.go index d4b7f36d..f0f55855 100644 --- a/admin/api/exercice.go +++ b/admin/api/exercice.go @@ -728,6 +728,7 @@ type uploadedFlag struct { Type string Label string Placeholder string + Help string IgnoreCase bool Multiline bool NoTrim bool @@ -826,6 +827,7 @@ func updateExerciceFlag(c *gin.Context) { } flag.Placeholder = uk.Placeholder + flag.Help = uk.Help flag.IgnoreCase = uk.IgnoreCase flag.Multiline = uk.Multiline if len(uk.Flag) > 0 {