Browse Source

Display available quantity in the taker

It becomes important when someone else controls the offers from the maker.
testing
Mariusz Klochowicz 3 years ago
parent
commit
cae95888c6
No known key found for this signature in database GPG Key ID: 470C865699C8D4D
  1. 4
      frontend/src/TakerApp.tsx

4
frontend/src/TakerApp.tsx

@ -153,6 +153,10 @@ export default function App() {
<Text align={"left"}>Order Price:</Text>
<Text>{order?.price}</Text>
<Text align={"left"}>Available Quantity:</Text>
<Text>
{order ? (format(order?.min_quantity) + "-" + format!(order?.max_quantity)) : "None"}
</Text>
<Text>Quantity:</Text>
<CurrencyInputField
onChange={(valueString: string) => {

Loading…
Cancel
Save