Fix: Site info wasn't stored correctly.
This commit is contained in:
parent
10951d37e7
commit
9774aa7e4f
|
@ -118,6 +118,7 @@ angular.module('ffffng')
|
||||||
if (nodeData === 'missing') {
|
if (nodeData === 'missing') {
|
||||||
nodeDataForStoring = {
|
nodeDataForStoring = {
|
||||||
mac: node.mac,
|
mac: node.mac,
|
||||||
|
site: nodeData.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