提交 54512491 编写于 作者: 7 710leo

fix alert history tag display

上级 a3fee54f
......@@ -85,7 +85,7 @@ func eventCurGets(c *gin.Context) {
}
tagsList := []string{}
if len(detail) > 1 {
if len(detail) > 0 {
for k, v := range detail[0].Tags {
tagsList = append(tagsList, fmt.Sprintf("%s=%s", k, v))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册