make node icon a link to node on map
This commit is contained in:
parent
b89bd56774
commit
456907aef1
1 changed files with 5 additions and 3 deletions
|
|
@ -51,9 +51,11 @@
|
|||
<div class="flex">
|
||||
|
||||
<div class="mr-2 mt-2">
|
||||
<div class="flex rounded-full h-12 w-12 text-white" :class="[ `bg-[${getNodeColour(message.from)}]` ]">
|
||||
<div class="mx-auto my-auto">{{ getNodeShortName(message.from) }}</div>
|
||||
</div>
|
||||
<a target="_blank" :href="`/?node_id=${message.from}`">
|
||||
<div class="flex rounded-full h-12 w-12 text-white" :class="[ `bg-[${getNodeColour(message.from)}]` ]">
|
||||
<div class="mx-auto my-auto">{{ getNodeShortName(message.from) }}</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue