Fix resetting list, label & namespace colors
This commit is contained in:
@ -460,13 +460,11 @@ func CreateOrUpdateList(list *List) (err error) {
|
||||
"title",
|
||||
"is_archived",
|
||||
"identifier",
|
||||
"hex_color",
|
||||
}
|
||||
if list.Description != "" {
|
||||
colsToUpdate = append(colsToUpdate, "description")
|
||||
}
|
||||
if list.HexColor != "" {
|
||||
colsToUpdate = append(colsToUpdate, "hex_color")
|
||||
}
|
||||
|
||||
_, err = x.
|
||||
ID(list.ID).
|
||||
|
Reference in New Issue
Block a user