mirror of
https://github.com/basicswap/basicswap.git
synced 2025-04-24 23:18:22 +00:00
Merge pull request #291 from gerlofvanek/offers-11
Fix: Update orderbook rates.
This commit is contained in:
commit
5a202e447c
1 changed files with 2 additions and 0 deletions
|
@ -1062,6 +1062,7 @@ async function updateOffersTable() {
|
|||
requestAnimationFrame(() => {
|
||||
updateRowTimes();
|
||||
updatePaginationControls(Math.ceil(validOffers.length / itemsPerPage));
|
||||
updateProfitLossDisplays();
|
||||
if (tableRateModule?.initializeTable) {
|
||||
tableRateModule.initializeTable();
|
||||
}
|
||||
|
@ -2283,6 +2284,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
requestAnimationFrame(() => {
|
||||
updateOffersTable();
|
||||
updatePaginationInfo();
|
||||
updateProfitLossDisplays();
|
||||
});
|
||||
} catch (error) {
|
||||
console.error('[Debug] Error processing WebSocket message:', error);
|
||||
|
|
Loading…
Reference in a new issue