Fix: Site info wasn't stored correctly.

This commit is contained in:
baldo 2017-08-13 17:44:12 +02:00
parent 10951d37e7
commit 9774aa7e4f

View file

@ -118,6 +118,7 @@ angular.module('ffffng')
if (nodeData === 'missing') {
nodeDataForStoring = {
mac: node.mac,
site: nodeData.site,
state: 'OFFLINE',
// jshint -W106
lastSeen: _.isUndefined(row) ? moment() : moment.unix(row.last_seen),