From fb7972223b5ce6bfc55cca7cf63dc9ea91abd0f9 Mon Sep 17 00:00:00 2001 From: Moe Date: Sat, 4 Jul 2020 08:56:17 -0700 Subject: [PATCH] fix not-iterable error in events --- libs/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/events.js b/libs/events.js index e1234f40..325ef578 100644 --- a/libs/events.js +++ b/libs/events.js @@ -192,7 +192,7 @@ module.exports = function(s,config,lang){ d.mon=s.group[d.ke].rawMonitorConfigurations[d.id]; var currentConfig = s.group[d.ke].rawMonitorConfigurations[d.id].details var hasMatrices = (d.details.matrices && d.details.matrices.length > 0) - var allMatrices = d.details.matrices + var allMatrices = d.details.matrices || [] var matchedMatrices = [] //read filters if(