use router for messages page

This commit is contained in:
liamcottle 2024-08-05 23:45:20 +12:00
parent a91964a463
commit 165e08131f
6 changed files with 240 additions and 214 deletions

View file

@ -150,7 +150,14 @@ export default {
WebSocketConnection.off("message", this.onWebsocketMessage);
},
mounted() {
// fixme: this is called by the micron-parser.js
window.onNodePageUrlClick = (url) => {
this.onNodePageUrlClick(url);
};
this.getNomadnetworkNodeAnnounces();
},
methods: {
async onWebsocketMessage(message) {