fix(inv cards): correction to properly display the names
This commit is contained in:
@@ -66,6 +66,7 @@ export function InvTable<TData, TValue>({
|
||||
});
|
||||
//console.log(table.getState().sorting);
|
||||
//console.log(parseInt(style.height.replace("px", "")) - 50);
|
||||
console.log(info);
|
||||
return (
|
||||
<LstCard
|
||||
className="p-3"
|
||||
@@ -79,8 +80,9 @@ export function InvTable<TData, TValue>({
|
||||
<div>
|
||||
<div className="flex flex-row justify-between">
|
||||
<p className="text-center text-pretty">
|
||||
{info.type} {data.length > 0 ? "lanes" : "lane"} older
|
||||
than: {info.age}, needing to be completed
|
||||
{info.rowType} {data.length > 0 ? "lanes" : "lane"}{" "}
|
||||
older than: {info.age}, {data.length} needing to be
|
||||
completed
|
||||
</p>
|
||||
</div>
|
||||
<ScrollArea className="h-72 rounded-md border m-2">
|
||||
|
||||
Reference in New Issue
Block a user