Update index.html

This commit is contained in:
sairaj mote 2023-11-20 14:04:50 +05:30
parent 505d5dd2cb
commit 361e6dff9d

View File

@ -651,6 +651,7 @@
}
function renderSearchedAddressList() {
compactIDB.readAllData('contacts').then(contacts => {
if (!getRef('searched_addresses_list')) return
if (Object.keys(contacts).length === 0) {
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>