Online state of nodes may be unknown.
This commit is contained in:
parent
dd48bd9702
commit
db01edcb71
|
@ -85,7 +85,7 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest
|
||||||
? '<i class="fa fa-map-marker coords-set" aria-hidden="true" title="coordinates set"></i>'
|
? '<i class="fa fa-map-marker coords-set" aria-hidden="true" title="coordinates set"></i>'
|
||||||
: '<i class="fa fa-times coords-unset" aria-hidden="true" title="no coordinates"></i>';
|
: '<i class="fa fa-times coords-unset" aria-hidden="true" title="no coordinates"></i>';
|
||||||
}),
|
}),
|
||||||
nga.field('onlineState').cssClasses(nodeClasses),
|
nga.field('onlineState').map(nullable).cssClasses(nodeClasses),
|
||||||
nga.field('monitoringState').cssClasses(nodeClasses).template(function (node) {
|
nga.field('monitoringState').cssClasses(nodeClasses).template(function (node) {
|
||||||
switch (node.values.monitoringState) {
|
switch (node.values.monitoringState) {
|
||||||
case 'active':
|
case 'active':
|
||||||
|
|
Loading…
Reference in a new issue