mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Merge pull request #291 from gerlofvanek/offers-11
Fix: Update orderbook rates.
This commit is contained in:
@@ -1062,6 +1062,7 @@ async function updateOffersTable() {
|
|||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
updateRowTimes();
|
updateRowTimes();
|
||||||
updatePaginationControls(Math.ceil(validOffers.length / itemsPerPage));
|
updatePaginationControls(Math.ceil(validOffers.length / itemsPerPage));
|
||||||
|
updateProfitLossDisplays();
|
||||||
if (tableRateModule?.initializeTable) {
|
if (tableRateModule?.initializeTable) {
|
||||||
tableRateModule.initializeTable();
|
tableRateModule.initializeTable();
|
||||||
}
|
}
|
||||||
@@ -2283,6 +2284,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
updateOffersTable();
|
updateOffersTable();
|
||||||
updatePaginationInfo();
|
updatePaginationInfo();
|
||||||
|
updateProfitLossDisplays();
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('[Debug] Error processing WebSocket message:', error);
|
console.error('[Debug] Error processing WebSocket message:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user