Skip to content

Commit

Permalink
add node drop down menu to trace route nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 19, 2024
1 parent 32148df commit 9fe3df1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/pages/TraceRoutePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<div>{{ getNodeHexId(traceRoute.to) }}</div>
<div>Started the traceroute</div>
</div>
<div class="my-auto">
<NodeDropDownMenu :node="findNodeById(traceRoute.to)"/>
</div>
</li>

<!-- middleman nodes -->
Expand All @@ -44,6 +47,9 @@
<div>{{ getNodeHexId(route) }}</div>
<div>Forwarded the packet</div>
</div>
<div class="my-auto">
<NodeDropDownMenu :node="findNodeById(route)"/>
</div>
</li>

<!-- node that replied to traceroute -->
Expand All @@ -62,6 +68,9 @@
<div>{{ getNodeHexId(traceRoute.from) }}</div>
<div>Replied to traceroute</div>
</div>
<div class="my-auto">
<NodeDropDownMenu :node="findNodeById(traceRoute.from)"/>
</div>
</li>

</ul>
Expand Down Expand Up @@ -92,10 +101,12 @@ import moment from "moment";
import ChannelUtils from "../../js/ChannelUtils.js";
import TimeUtils from "../../js/TimeUtils.js";
import Database from "../../js/Database.js";
import NodeDropDownMenu from "../nodes/NodeDropDownMenu.vue";
export default {
name: 'TraceRoutePage',
components: {
NodeDropDownMenu,
NodeIcon,
Page,
AppBar,
Expand Down

0 comments on commit 9fe3df1

Please sign in to comment.