Update index.html
This commit is contained in:
parent
505d5dd2cb
commit
361e6dff9d
@ -651,6 +651,7 @@
|
|||||||
}
|
}
|
||||||
function renderSearchedAddressList() {
|
function renderSearchedAddressList() {
|
||||||
compactIDB.readAllData('contacts').then(contacts => {
|
compactIDB.readAllData('contacts').then(contacts => {
|
||||||
|
if (!getRef('searched_addresses_list')) return
|
||||||
if (Object.keys(contacts).length === 0) {
|
if (Object.keys(contacts).length === 0) {
|
||||||
renderElem(getRef('searched_addresses_list'), html`<li class="flex align-center justify-center">
|
renderElem(getRef('searched_addresses_list'), html`<li class="flex align-center justify-center">
|
||||||
<p>Your searched addresses will appear here for easier access in future.</p>
|
<p>Your searched addresses will appear here for easier access in future.</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user