mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-05-18 07:16:10 +02:00
show node details when direct linking to a node without a position
This commit is contained in:
@@ -3143,7 +3143,15 @@
|
||||
|
||||
// go to node id if provided
|
||||
if(goToNodeId){
|
||||
goToNode(goToNodeId, false, zoom);
|
||||
|
||||
// go to node
|
||||
if(window.goToNode(goToNodeId, false, zoom)){
|
||||
return;
|
||||
}
|
||||
|
||||
// fallback to showing node details since we can't go to the node
|
||||
window.showNodeDetails(goToNodeId);
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user