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