🐛 fix: Update SubscribeTable to display inventory using Display component for better clarity
This commit is contained in:
parent
83d821a2dc
commit
cc52e3614d
@ -211,7 +211,7 @@ export default function SubscribeTable() {
|
|||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const inventory = row.getValue("inventory") as number;
|
const inventory = row.getValue("inventory") as number;
|
||||||
return inventory === -1 ? (
|
return inventory === -1 ? (
|
||||||
t("unlimited")
|
<Display type="number" unlimited value={0} />
|
||||||
) : (
|
) : (
|
||||||
<Display type="number" unlimited value={inventory} />
|
<Display type="number" unlimited value={inventory} />
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user