Trigger panel: added host technical name, fixes #192.

This commit is contained in:
Alexander Zobnin
2016-07-31 17:12:53 +03:00
parent d75cb8f9b3
commit e75a714e22
3 changed files with 32 additions and 2 deletions

View File

@@ -140,6 +140,7 @@ class TriggerPanelCtrl extends MetricsPanelCtrl {
// Set host that the trigger belongs
if (trigger.hosts.length) {
triggerObj.host = trigger.hosts[0].name;
triggerObj.hostTechName = trigger.hosts[0].host;
}
// Set color