admin: Fix flag edition

This commit is contained in:
nemunaire 2022-06-08 12:24:38 +02:00
parent 38857054ba
commit 7a5c1eeba7
1 changed files with 2 additions and 0 deletions

View File

@ -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 {