Open node in form and map.
This commit is contained in:
parent
5b9d2e615b
commit
03083b819b
12 changed files with 80 additions and 19 deletions
server/services
|
@ -212,7 +212,10 @@ angular.module('ffffng')
|
|||
}
|
||||
|
||||
_.each(entries, function (value, key) {
|
||||
if (key === 'monitoring') {
|
||||
if (key === 'mac') {
|
||||
node['mac'] = value;
|
||||
node['mapId'] = _.toLower(value).replace(/:/g, '')
|
||||
} else if (key === 'monitoring') {
|
||||
var active = value === 'aktiv';
|
||||
var pending = value === 'pending';
|
||||
node.monitoring = active || pending;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue