fix an on start error
parent
de6bc75c69
commit
6dd3024693
|
|
@ -351,7 +351,7 @@ module.exports = (s,config,lang) => {
|
||||||
function bindTagLegendForMonitors(groupKey){
|
function bindTagLegendForMonitors(groupKey){
|
||||||
const newTagLegend = {}
|
const newTagLegend = {}
|
||||||
const theGroup = s.group[groupKey]
|
const theGroup = s.group[groupKey]
|
||||||
const monitorIds = Object.keys(theGroup.rawMonitorConfigurations)
|
const monitorIds = Object.keys(theGroup.rawMonitorConfigurations || {})
|
||||||
monitorIds.forEach((monitorId) => {
|
monitorIds.forEach((monitorId) => {
|
||||||
const monitorConfig = theGroup.rawMonitorConfigurations[monitorId]
|
const monitorConfig = theGroup.rawMonitorConfigurations[monitorId]
|
||||||
const theTags = (monitorConfig.tags || '').split(',')
|
const theTags = (monitorConfig.tags || '').split(',')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue