mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-12-01 20:36:28 -05:00
show full ifac signature on click
This commit is contained in:
parent
4e2c1136a9
commit
490f14ab31
1 changed files with 4 additions and 1 deletions
|
|
@ -715,7 +715,7 @@
|
|||
<path fill-rule="evenodd" d="M10 1a4.5 4.5 0 0 0-4.5 4.5V9H5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2h-.5V5.5A4.5 4.5 0 0 0 10 1Zm3 8V5.5a3 3 0 1 0-6 0V9h6Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
<span class="ml-1 my-auto">
|
||||
<span class="text-green-500">{{ findInterfaceStats(interface_name)?.ifac_size * 8 }}-bit IFAC</span> with sig <{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(0, 6) }}...{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(-6) }}>
|
||||
<span class="text-green-500">{{ findInterfaceStats(interface_name)?.ifac_size * 8 }}-bit IFAC</span> with sig <span @click="onIFACSignatureClick(findInterfaceStats(interface_name)?.ifac_signature)" class="cursor-pointer"><{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(0, 6) }}...{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(-6) }}></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -2316,6 +2316,9 @@
|
|||
const value = rawValue?.toLowerCase();
|
||||
return value === "on" || value === "yes" || value === "true";
|
||||
},
|
||||
onIFACSignatureClick: function(ifacSignature) {
|
||||
alert(ifacSignature);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
isMobile() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue