Splitting site field: Now we track site and domain.

This commit is contained in:
baldo 2018-12-17 20:06:39 +01:00
commit 84b20b209e
8 changed files with 46 additions and 6 deletions

View file

@ -128,6 +128,7 @@ angular.module('ffffng').factory('NodeResource', function (
if (nodeState) {
return deepExtend({}, node, {
site: nodeState.site,
domain: nodeState.domain,
onlineState: nodeState.state
});
}
@ -144,6 +145,7 @@ angular.module('ffffng').factory('NodeResource', function (
'token',
'mac',
'site',
'domain',
'key',
'onlineState'
],
@ -161,6 +163,7 @@ angular.module('ffffng').factory('NodeResource', function (
'mac',
'key',
'site',
'domain',
'coords',
'onlineState',
'monitoringState'