@@ -18,23 +18,19 @@ const Page = () => {
1818
1919 const dataspacesList = [
2020 {
21- title : 'Open Budgets India' ,
21+ name : 'Open Budgets India' ,
2222 slug : 'open-budgets-india' ,
2323 } ,
24- {
25- title : 'Open Contracting India' ,
26- slug : 'open-contracting-india' ,
27- } ,
2824 ] ;
2925
3026 const organizationsList = [
3127 {
32- title : 'CBGA' ,
33- slug : 'cbga-india ' ,
28+ name : 'CBGA' ,
29+ slug : 'civicdatalab ' ,
3430 } ,
3531 {
36- title : 'Assam Finance Department' ,
37- slug : 'assam-finance-dept ' ,
32+ name : 'Assam Finance Department' ,
33+ slug : 'civicdatalab ' ,
3834 } ,
3935 ] ;
4036
@@ -67,7 +63,7 @@ const Page = () => {
6763 ...( params . entityType === 'organization'
6864 ? organizationsList
6965 : dataspacesList ) ,
70- ] . map ( ( orgItem ) => (
66+ ] ? .map ( ( orgItem ) => (
7167 < div
7268 key = { orgItem . slug }
7369 className = "flex max-w-64 flex-col items-center gap-3 rounded-2 border-2 border-solid border-baseGraySlateSolid4 px-4 py-5 text-center"
@@ -97,14 +93,14 @@ const Page = () => {
9793 </LinkButton> */ }
9894 </ Link >
9995 < div >
100- < Text variant = "headingMd" > { orgItem . title } </ Text >
96+ < Text variant = "headingMd" > { orgItem . name } </ Text >
10197 </ div >
10298 </ div >
10399 ) ) }
104100 < div className = "flex h-72 w-56 flex-col items-center justify-center gap-3 rounded-2 bg-baseGraySlateSolid6 p-4" >
105101 < Icon source = { Icons . plus } size = { 40 } color = "success" />
106102 < Text alignment = "center" variant = "headingMd" >
107- Add New Organization
103+ { ` Add New ${ params . entityType === 'organization' ? ' Organization' : 'Data Space' } ` }
108104 </ Text >
109105 </ div >
110106 </ div >
0 commit comments