Fix: Setting site for missing node was bogus.
This commit is contained in:
parent
9f2bd4035f
commit
2b22926b2f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ angular.module('ffffng')
|
|||
if (nodeData === 'missing') {
|
||||
nodeDataForStoring = {
|
||||
mac: node.mac,
|
||||
site: nodeData.site,
|
||||
site: _.isUndefined(row) ? null : row.site,
|
||||
state: 'OFFLINE',
|
||||
// jshint -W106
|
||||
lastSeen: _.isUndefined(row) ? moment() : moment.unix(row.last_seen),
|
||||
|
|
Loading…
Reference in a new issue