Skip to content

Commit b382ab2

Browse files
committed
feat: display amount sold and remaining stock in PageStockSoldTag
1 parent 8b67d15 commit b382ab2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ui/PageStockSold.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ function PageStockSoldTag({
6161
</div>
6262
<small>
6363
(
64+
{efterslaebData?.amountSold?.toLocaleString("en", {
65+
maximumSignificantDigits: 3,
66+
}) || 0}{" "}
67+
liters sold,{" "}
6468
{efterslaebData?.remainingStock?.toLocaleString("en", {
6569
maximumSignificantDigits: 3,
6670
}) || 0}{" "}

0 commit comments

Comments
 (0)