If site is currently unknown keep previous site on update.

This commit is contained in:
baldo 2017-08-13 18:37:58 +02:00
parent a4805b6b2b
commit 82a69769c3

View file

@ -92,7 +92,7 @@ angular.module('ffffng')
'WHERE id = ? AND mac = ?',
[
node.hostname,
nodeData.site,
nodeData.site || row.site,
node.monitoringState,
nodeData.state,
nodeData.lastSeen.unix(),