Add field "site" in admin panel.
This commit is contained in:
parent
a9c6ddc03b
commit
88dab5743f
4 changed files with 24 additions and 4 deletions
server/resources
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue