fix(dashboard): FF return reason table (#9614)
**What** - fix an issue with text display in the table - fix label --- FIXES CC-603
This commit is contained in:
@@ -15,11 +15,13 @@ export const useReturnReasonTableColumns = () => {
|
||||
cell: ({ row }) => {
|
||||
const { label, description } = row.original
|
||||
return (
|
||||
<div className="flex h-full w-full flex-col justify-center py-4">
|
||||
<span className="truncate font-medium">{label}</span>
|
||||
<span className="truncate">
|
||||
{description ? description : "-"}
|
||||
</span>
|
||||
<div className=" py-4">
|
||||
<div className="flex h-full w-full flex-col justify-center">
|
||||
<span className="truncate font-medium">{label}</span>
|
||||
<span className="truncate">
|
||||
{description ? description : "-"}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
@@ -2376,7 +2376,7 @@
|
||||
},
|
||||
"label": { "label": "Label", "placeholder": "Wrong size" },
|
||||
"description": {
|
||||
"label": "Descriptions",
|
||||
"label": "Description",
|
||||
"placeholder": "Customer received the wrong size"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user