fix missing nodes, fix issue with traceroutes
All checks were successful
Build Docker containers / Build (push) Successful in 44s
All checks were successful
Build Docker containers / Build (push) Successful in 44s
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
<script setup>
|
||||
const emit = defineEmits(['showTraceRoute']);
|
||||
import moment from 'moment';
|
||||
import { state } from '../../store.js';
|
||||
import { findNodeById } from '../../utils.js';
|
||||
</script>
|
||||
|
@ -298,6 +298,10 @@ function onNodesUpdated(nodes) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// add node to cache
|
||||
state.nodes.push(node);
|
||||
|
||||
// skip nodes without position
|
||||
if (!node.latitude || !node.longitude) {
|
||||
continue;
|
||||
@ -365,8 +369,7 @@ function onNodesUpdated(nodes) {
|
||||
});
|
||||
}
|
||||
|
||||
// Push node and marker to cache
|
||||
state.nodes.push(node);
|
||||
// Push node marker to cache
|
||||
state.nodeMarkers[node.node_id] = marker;
|
||||
|
||||
// show node info tooltip when clicking node marker
|
||||
|
Reference in New Issue
Block a user