UI fix
This commit is contained in:
parent
26892c755f
commit
0cbc4b6c6c
@ -86,7 +86,7 @@
|
||||
<sm-input id="search_bonds" type="search" placeholder="Search bonds with FLO ID">
|
||||
<svg slot="icon" class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>
|
||||
</sm-input>
|
||||
<button id="refresh-btn" class="justify-right button--primary">Refresh</button>
|
||||
<button id="refresh_button" class="justify-right button--primary">Refresh</button>
|
||||
</header>
|
||||
<ul id="bond_list"></ul>
|
||||
<div id="bond_list__empty-state" class="grid hide-completely">
|
||||
@ -10021,7 +10021,7 @@ Bitcoin.Util = {
|
||||
compactIDB.initDB(floGlobals.application, {
|
||||
bonds: {},
|
||||
appendix: {}
|
||||
}).then(result => refreshBtn.click())
|
||||
}).then(result => getRef('refresh_button').click())
|
||||
.catch(error => console.error(error))
|
||||
}
|
||||
|
||||
@ -10188,8 +10188,7 @@ Bitcoin.Util = {
|
||||
return details;
|
||||
}
|
||||
|
||||
const refreshBtn = getRef('refresh-btn');
|
||||
refreshBtn.addEventListener("click", evt => {
|
||||
getRef('refresh_button').addEventListener("click", evt => {
|
||||
showPage('loading_page')
|
||||
getCurrentRates().then(rates => {
|
||||
USD_current = rates.USD_INR;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user