feat(kapacitor): workaround kapacitor#2488

pull/5675/head
Pavel Zavora 2021-02-26 18:58:06 +01:00
parent 3254819e0d
commit 98dd818ec5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export const parseAlertNodeList = rule => {
const nodeList = _.transform(
rule.alertNodes,
(acc, v, k) => {
if (k in HANDLERS_TO_RULE_THEM_ALL && v.length > 0) {
if (k in HANDLERS_TO_RULE_THEM_ALL && v && v.length > 0) {
let alerts
switch (k) {
case AlertTypes.slack: