🐛 fix: Update SubscribeTable to display inventory using Display component for better clarity

This commit is contained in:
web@ppanel 2025-12-29 08:17:45 +00:00
parent 83d821a2dc
commit cc52e3614d

View File

@ -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} />
); );