Fix: Wrong object to store site from.
This commit is contained in:
parent
05dfade2a6
commit
7dd8d35139
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ angular.module('ffffng')
|
||||||
[
|
[
|
||||||
node.hostname,
|
node.hostname,
|
||||||
node.mac,
|
node.mac,
|
||||||
node.site,
|
nodeData.site,
|
||||||
node.monitoringState,
|
node.monitoringState,
|
||||||
nodeData.state,
|
nodeData.state,
|
||||||
nodeData.lastSeen.unix(),
|
nodeData.lastSeen.unix(),
|
||||||
|
@ -92,7 +92,7 @@ angular.module('ffffng')
|
||||||
'WHERE id = ? AND mac = ?',
|
'WHERE id = ? AND mac = ?',
|
||||||
[
|
[
|
||||||
node.hostname,
|
node.hostname,
|
||||||
node.site,
|
nodeData.site,
|
||||||
node.monitoringState,
|
node.monitoringState,
|
||||||
nodeData.state,
|
nodeData.state,
|
||||||
nodeData.lastSeen.unix(),
|
nodeData.lastSeen.unix(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue