fix(highlights): include local relays in relay indicator tooltip

Remove filter that excluded local relays from the fallback tooltip - now shows all configured relays including localhost
This commit is contained in:
Gigi
2025-10-09 16:24:32 +01:00
parent 4e3bb36ea5
commit 4239f50129

View File

@@ -201,9 +201,8 @@ export const HighlightItem: React.FC<HighlightItemProps> = ({
}
}
// Fallback: show remote relays we queried (where this was likely fetched from)
const remoteRelays = RELAYS.filter(url => !isLocalRelay(url))
const relayNames = remoteRelays.map(url =>
// Fallback: show all relays we queried (where this was likely fetched from)
const relayNames = RELAYS.map(url =>
url.replace(/^wss?:\/\//, '').replace(/\/$/, '')
)
return {