Hide address container when search type is set to hash

This commit is contained in:
void-57 2025-10-25 00:53:19 +05:30
parent 0e807efe9a
commit 36c4a7079d

View File

@ -2183,7 +2183,13 @@
const list = document.getElementById("searchedAddressesList");
if (!container || !list) return;
const searchType = document.querySelector(
'input[name="searchType"]:checked'
)?.value;
if (searchType === "hash") {
container.style.display = "none";
return;
}
if (addresses.length === 0) {
container.style.display = "none";
return;