add ability to double click a nomadnetwork node in network visualiser to open the browser

This commit is contained in:
liamcottle 2025-01-21 23:58:43 +13:00
parent 558e4c8b3d
commit 6af4e53de4
3 changed files with 80 additions and 8 deletions

View file

@ -202,6 +202,19 @@ export default {
}
// handle double click on nomadnetwork.node node
if(announce.aspect === "nomadnetwork.node"){
// go to nomadnetwork page for this destination hash
this.$router.push({
name: "nomadnetwork",
params: {
destinationHash: announce.destination_hash,
},
});
}
}
});