From 5e43e764123788b172b370157306053622af52db Mon Sep 17 00:00:00 2001 From: Dotty Date: Fri, 8 Nov 2024 09:36:53 -0400 Subject: [PATCH] [TM-1316] add break in text TerraFund Top 100 in programme table list --- src/pages/dashboard/project-list/index.page.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/pages/dashboard/project-list/index.page.tsx b/src/pages/dashboard/project-list/index.page.tsx index 4f598b484..536420cde 100644 --- a/src/pages/dashboard/project-list/index.page.tsx +++ b/src/pages/dashboard/project-list/index.page.tsx @@ -47,7 +47,19 @@ const ProjectList = () => { }, { header: "Programme", - accessorKey: "programme" + accessorKey: "programme", + cell: (props: any) => { + const value = props.getValue(); + return value === "TerraFund Top 100" ? ( + + TerraFund +
+ Top 100 +
+ ) : ( + {value} + ); + } }, { header: "Country",