From 552ba2f970d2540ecf05b00b89154b46d4f158e7 Mon Sep 17 00:00:00 2001 From: you Date: Sun, 22 Mar 2026 00:34:46 +0000 Subject: [PATCH] Add hex hash toggle to packets page filter bar --- public/index.html | 2 +- public/packets.js | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 5581eb29..0f65c6c1 100644 --- a/public/index.html +++ b/public/index.html @@ -84,7 +84,7 @@ - + diff --git a/public/packets.js b/public/packets.js index c5f9c862..88527fae 100644 --- a/public/packets.js +++ b/public/packets.js @@ -674,6 +674,13 @@ document.addEventListener('click', () => colMenu.classList.remove('open')); applyColVisibility(); + document.getElementById('hexHashToggle').addEventListener('click', function () { + showHexHashes = !showHexHashes; + localStorage.setItem('meshcore-hex-hashes', showHexHashes); + this.classList.toggle('active', showHexHashes); + renderTable(); + }); + // Node name filter with autocomplete const fNode = document.getElementById('fNode'); const fNodeDrop = document.getElementById('fNodeDropdown');