From cae95888c6487c5b61f1aa99ea03a1bebdefda47 Mon Sep 17 00:00:00 2001 From: Mariusz Klochowicz Date: Fri, 15 Oct 2021 15:18:25 +1030 Subject: [PATCH] Display available quantity in the taker It becomes important when someone else controls the offers from the maker. --- frontend/src/TakerApp.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/TakerApp.tsx b/frontend/src/TakerApp.tsx index 392d867..76c3c8e 100644 --- a/frontend/src/TakerApp.tsx +++ b/frontend/src/TakerApp.tsx @@ -153,6 +153,10 @@ export default function App() { Order Price: {order?.price} + Available Quantity: + + {order ? (format(order?.min_quantity) + "-" + format!(order?.max_quantity)) : "None"} + Quantity: {