From db01edcb7176689e46d0f15402398b0913edb148 Mon Sep 17 00:00:00 2001 From: baldo Date: Sun, 26 Jun 2016 19:39:39 +0200 Subject: [PATCH] Online state of nodes may be unknown. --- admin/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/js/main.js b/admin/js/main.js index 846ceed..c80f839 100644 --- a/admin/js/main.js +++ b/admin/js/main.js @@ -85,7 +85,7 @@ angular.module('ffffngAdmin').config(function(NgAdminConfigurationProvider, Rest ? '' : ''; }), - nga.field('onlineState').cssClasses(nodeClasses), + nga.field('onlineState').map(nullable).cssClasses(nodeClasses), nga.field('monitoringState').cssClasses(nodeClasses).template(function (node) { switch (node.values.monitoringState) { case 'active':