Display a list of unique handlers instead of all handlers for an alert rule on the list page

pull/10616/head
deniz kusefoglu 2017-12-01 11:48:18 -08:00
parent 2a21a31d68
commit ceb9969ea5
1 changed files with 2 additions and 1 deletions

View File

@ -31,5 +31,6 @@ export const getAlertNodeList = rule => {
},
[]
)
return _.join(nodeList, ', ')
const uniqNodeList = _.uniq(nodeList)
return _.join(uniqNodeList, ', ')
}