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:
+7
-5
@@ -15,11 +15,13 @@ export const useReturnReasonTableColumns = () => {
|
|||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const { label, description } = row.original
|
const { label, description } = row.original
|
||||||
return (
|
return (
|
||||||
<div className="flex h-full w-full flex-col justify-center py-4">
|
<div className=" py-4">
|
||||||
<span className="truncate font-medium">{label}</span>
|
<div className="flex h-full w-full flex-col justify-center">
|
||||||
<span className="truncate">
|
<span className="truncate font-medium">{label}</span>
|
||||||
{description ? description : "-"}
|
<span className="truncate">
|
||||||
</span>
|
{description ? description : "-"}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2376,7 +2376,7 @@
|
|||||||
},
|
},
|
||||||
"label": { "label": "Label", "placeholder": "Wrong size" },
|
"label": { "label": "Label", "placeholder": "Wrong size" },
|
||||||
"description": {
|
"description": {
|
||||||
"label": "Descriptions",
|
"label": "Description",
|
||||||
"placeholder": "Customer received the wrong size"
|
"placeholder": "Customer received the wrong size"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user