From 82a69769c3cb3cbe5ad4737cabb5696ae96f4149 Mon Sep 17 00:00:00 2001 From: baldo Date: Sun, 13 Aug 2017 18:37:58 +0200 Subject: [PATCH] If site is currently unknown keep previous site on update. --- server/services/monitoringService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/monitoringService.js b/server/services/monitoringService.js index 120e94b..48426f5 100644 --- a/server/services/monitoringService.js +++ b/server/services/monitoringService.js @@ -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(),