Hide address container when search type is set to hash
This commit is contained in:
parent
0e807efe9a
commit
36c4a7079d
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user