mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-10-31 02:52:01 +01:00
make node icon a link to node on map
This commit is contained in:
1 parent
b89bd56774
commit
456907aef1
1 file changed
+5
-3
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user