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:
Frane Polić
2024-10-16 16:24:35 +02:00
committed by GitHub
parent 449168578d
commit c2a39c78f5
2 changed files with 8 additions and 6 deletions

View File

@@ -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>
)
},

View File

@@ -2376,7 +2376,7 @@
},
"label": { "label": "Label", "placeholder": "Wrong size" },
"description": {
"label": "Descriptions",
"label": "Description",
"placeholder": "Customer received the wrong size"
}
}