From f416d2ac176cd03666bb972b3955545d173d5ef4 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Fri, 29 Mar 2024 10:47:27 +0100 Subject: [PATCH] Fix loading line in Book --- frontend/src/components/BookTable/index.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/BookTable/index.tsx b/frontend/src/components/BookTable/index.tsx index 9aa0d94b..5ae57a27 100644 --- a/frontend/src/components/BookTable/index.tsx +++ b/frontend/src/components/BookTable/index.tsx @@ -897,6 +897,11 @@ const BookTable = ({ : orders; }, [showControls, orders, fav, paymentMethods]); + const loadingPercentage = + ((federation.exchange.enabledCoordinators - federation.exchange.loadingCoordinators) / + federation.exchange.enabledCoordinators) * + 100; + if (!fullscreen) { return (