admin: Fix flag edition
This commit is contained in:
parent
38857054ba
commit
7a5c1eeba7
@ -728,6 +728,7 @@ type uploadedFlag struct {
|
|||||||
Type string
|
Type string
|
||||||
Label string
|
Label string
|
||||||
Placeholder string
|
Placeholder string
|
||||||
|
Help string
|
||||||
IgnoreCase bool
|
IgnoreCase bool
|
||||||
Multiline bool
|
Multiline bool
|
||||||
NoTrim bool
|
NoTrim bool
|
||||||
@ -826,6 +827,7 @@ func updateExerciceFlag(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
flag.Placeholder = uk.Placeholder
|
flag.Placeholder = uk.Placeholder
|
||||||
|
flag.Help = uk.Help
|
||||||
flag.IgnoreCase = uk.IgnoreCase
|
flag.IgnoreCase = uk.IgnoreCase
|
||||||
flag.Multiline = uk.Multiline
|
flag.Multiline = uk.Multiline
|
||||||
if len(uk.Flag) > 0 {
|
if len(uk.Flag) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user