fix an on start error

super-timeline
Moe 2023-07-28 10:27:29 -07:00
parent de6bc75c69
commit 6dd3024693
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ module.exports = (s,config,lang) => {
function bindTagLegendForMonitors(groupKey){
const newTagLegend = {}
const theGroup = s.group[groupKey]
const monitorIds = Object.keys(theGroup.rawMonitorConfigurations)
const monitorIds = Object.keys(theGroup.rawMonitorConfigurations || {})
monitorIds.forEach((monitorId) => {
const monitorConfig = theGroup.rawMonitorConfigurations[monitorId]
const theTags = (monitorConfig.tags || '').split(',')