mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Clean code
This commit is contained in:
@@ -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...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user