🎨 Clean code

This commit is contained in:
Liang Ding 2023-02-18 14:51:47 +08:00
parent 7b41e698e1
commit 86a62879ea
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -144,7 +144,7 @@ func StatusJob() {
if "" != currentTaskAction {
if nil != actionLangs {
if label := actionLangs[currentTaskAction]; nil != label {
items = append([]map[string]interface{}{map[string]interface{}{"action": label.(string)}}, items...)
items = append([]map[string]interface{}{{"action": label.(string)}}, items...)
}
}
}