1
0

Fix resetting list, label & namespace colors

This commit is contained in:
kolaente
2020-06-15 11:32:07 +02:00
parent 47d7e713af
commit 24c1098736
3 changed files with 10 additions and 7 deletions

View File

@ -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).