Skip to content

Commit

Permalink
[TM-1316] add break in text TerraFund Top 100 in programme table list (
Browse files Browse the repository at this point in the history
  • Loading branch information
dottyy authored Nov 8, 2024
1 parent 344cf67 commit 9b30e77
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/pages/dashboard/project-list/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,19 @@ const ProjectList = () => {
},
{
header: "Programme",
accessorKey: "programme"
accessorKey: "programme",
cell: (props: any) => {
const value = props.getValue();
return value === "TerraFund Top 100" ? (
<Text variant="text-14-light">
TerraFund
<br />
Top 100
</Text>
) : (
<Text variant="text-14-light">{value}</Text>
);
}
},
{
header: "Country",
Expand Down

0 comments on commit 9b30e77

Please sign in to comment.