mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 05:39:32 +02:00
#1659 fix change label title resets color
This commit is contained in:
1 parent
86d3c5cbb3
commit
d9c5b3bcee
4 files changed
+4
-2
No files matched your search
@@ -904,6 +904,7 @@ func UpdateLabel(ctx *middleware.Context, form auth.CreateLabelForm) {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(form.Title, form.Color)
|
||||
l.Name = form.Title
|
||||
l.Color = form.Color
|
||||
if err := models.UpdateLabel(l); err != nil {
|
||||
|
||||
Reference in new issue
Block a user