feat: show unpaired device names on transactions
This commit is contained in:
parent
ca68fdd0a2
commit
0caa5cbc9a
10 changed files with 96 additions and 90 deletions
|
|
@ -129,8 +129,6 @@ function getMachineNames (config) {
|
|||
.then(([rawMachines, pings, events, config, heartbeat, performance]) => {
|
||||
const mergeByDeviceId = (x, y) => _.values(_.merge(_.keyBy('deviceId', x), _.keyBy('deviceId', y)))
|
||||
const machines = mergeByDeviceId(mergeByDeviceId(rawMachines, heartbeat), performance)
|
||||
console.log('machines', machines)
|
||||
console.log(machines.map(addName(pings, events, config)))
|
||||
|
||||
return machines.map(addName(pings, events, config))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue