fix(inv cards): correction to properly display the names

This commit is contained in:
2025-08-04 18:12:32 -05:00
parent 69fc7418c9
commit 2288884829

View File

@@ -66,6 +66,7 @@ export function InvTable<TData, TValue>({
}); });
//console.log(table.getState().sorting); //console.log(table.getState().sorting);
//console.log(parseInt(style.height.replace("px", "")) - 50); //console.log(parseInt(style.height.replace("px", "")) - 50);
console.log(info);
return ( return (
<LstCard <LstCard
className="p-3" className="p-3"
@@ -79,8 +80,9 @@ export function InvTable<TData, TValue>({
<div> <div>
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between">
<p className="text-center text-pretty"> <p className="text-center text-pretty">
{info.type} {data.length > 0 ? "lanes" : "lane"} older {info.rowType} {data.length > 0 ? "lanes" : "lane"}{" "}
than: {info.age}, needing to be completed older than: {info.age}, {data.length} needing to be
completed
</p> </p>
</div> </div>
<ScrollArea className="h-72 rounded-md border m-2"> <ScrollArea className="h-72 rounded-md border m-2">