Merge pull request from gerlofvanek/offers-11

Fix: Update orderbook rates.
This commit is contained in:
tecnovert 2025-04-01 21:08:21 +00:00 committed by GitHub
commit 5a202e447c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);