Minor bug fix

This commit is contained in:
sairaj mote 2023-07-06 18:30:01 +05:30
parent 9ce06f5cbb
commit ffa2726a9e

View File

@ -2514,12 +2514,12 @@
getRef('address_details_wrapper').classList.remove('hidden')
floWebWallet.getLabels().then(allLabels => {
if (allLabels[queriedFloId]) {
renderElem(getRef('queried_flo_address'), html`<h4>${allLabels[queriedFloId]}</h4> <sm-copy clip-text value=${queriedFloId}></sm-copy>`)
getRef('queried_flo_address').innerHTML = html`<h4>${allLabels[queriedFloId]}</h4> <sm-copy clip-text value=${queriedFloId}></sm-copy>`;
} else {
renderElem(getRef('queried_flo_address'), html`
getRef('queried_flo_address').innerHTML = html`
<p class="label">FLO Address </p>
<h4><sm-copy clip-text value=${queriedFloId}></sm-copy></h4>
`)
`;
}
})
const queriedFloId = address || getRef('search_query_input').value.trim()