Add field "site" in admin panel.

This commit is contained in:
baldo 2017-08-13 17:22:34 +02:00
parent a9c6ddc03b
commit 88dab5743f
4 changed files with 24 additions and 4 deletions
server/resources

View file

@ -127,6 +127,7 @@ angular.module('ffffng').factory('NodeResource', function (
var nodeState = nodeStateByMac[node.mac];
if (nodeState) {
return deepExtend({}, node, {
site: nodeState.site,
onlineState: nodeState.state
});
}