Skip to content

Commit

Permalink
click node icon in message viewer to go to node details page
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 19, 2024
1 parent 0033000 commit 6ba0cb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/messages/MessageViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

<!-- inbound sender -->
<div v-if="isMessageInbound(message)" class="mr-2 mt-2">
<NodeIcon :node-id="message.from"/>
<RouterLink :to="{ name: 'node', params: { nodeId: message.from }}">
<NodeIcon :node-id="message.from"/>
</RouterLink>
</div>

<div class="flex flex-col" :class="{ 'items-end': isMessageOutbound(message), 'items-start': isMessageInbound(message) }">
Expand Down

0 comments on commit 6ba0cb9

Please sign in to comment.