From ebcdb994efa416ea88688a8e0eaa51053c434571 Mon Sep 17 00:00:00 2001 From: you Date: Mon, 23 Mar 2026 19:21:30 +0000 Subject: [PATCH] fix: map markers use role color always, not gray when hash_size is missing Nodes without hash_size (older instances, no adverts seen) were showing as gray #888 instead of their role color. Now always uses ROLE_STYLE color. --- public/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/map.js b/public/map.js index 54abe70f..baa40e9b 100644 --- a/public/map.js +++ b/public/map.js @@ -66,7 +66,7 @@ var hs = node.hash_size || 1; // Show the short mesh hash ID (first N bytes of pubkey, uppercased) var shortHash = node.public_key ? node.public_key.slice(0, hs * 2).toUpperCase() : '??'; - var bgColor = node.hash_size ? s.color : '#888'; + var bgColor = s.color; var html = '
' + shortHash + '
'; return L.divIcon({