diff --git a/web/gds-user-ui/src/components/Collaborators/index.tsx b/web/gds-user-ui/src/components/Collaborators/index.tsx index e35e6b8b6..95319ba7e 100644 --- a/web/gds-user-ui/src/components/Collaborators/index.tsx +++ b/web/gds-user-ui/src/components/Collaborators/index.tsx @@ -130,7 +130,7 @@ const CollaboratorsSection: React.FC = () => { onClose(); }; return ( - + = ({ @@ -112,7 +111,7 @@ const SearchDirectory: React.FC = ({ setSearch(oid); handleSubmit(e, oid); }} - textTransform="capitalize"> + > {oid} ))} @@ -180,12 +179,12 @@ const SearchDirectory: React.FC = ({ - - TESTNET DIRECTORY RECORD + MAINNET DIRECTORY RECORD = ({ _focus={{ outline: 'none' }} _selected={{ bg: colors.system.blue, color: 'white', fontWeight: 'semibold' }}> - MAINNET DIRECTORY RECORD + TESTNET DIRECTORY RECORD - +
+ sx={{ + 'td:first-child': { fontWeight: 'semibold', width: '50%' }, + 'td:last-child': { width: '50%' } + }}> - + - + - + - + - + + @@ -249,11 +252,11 @@ const SearchDirectory: React.FC = ({ - {result?.testnet?.verified_on ? ( + {result?.mainnet?.verified_on ? ( ) : ( @@ -267,50 +270,46 @@ const SearchDirectory: React.FC = ({
Organization Name {result?.testnet?.name || 'N/A'}{result?.mainnet?.name || 'N/A'}
Common Name {result?.testnet?.common_name || 'N/A'}{result?.mainnet?.common_name || 'N/A'}
TRISA Service Endpoint {result?.testnet?.endpoint || 'N/A'}{result?.mainnet?.endpoint || 'N/A'}
- Registered Directory + {result?.testnet?.registered_directory || 'N/A'}{result?.mainnet?.registered_directory || 'N/A'}
- TRISA Member ID + {result?.testnet?.id || 'N/A'}{result?.mainnet?.id || 'N/A'}
Country - {getCountryName(result?.testnet?.country as IsoCountryCode)} + {getCountryName(result?.mainnet?.country as IsoCountryCode)} {' '} - {countryCodeEmoji(result?.testnet?.country) || 'N/A'} + {countryCodeEmoji(result?.mainnet?.country) || 'N/A'}
TRISA Verification {' '} VERIFIED ON{' '} - {result?.testnet?.verified_on}{' '} + {result?.mainnet?.verified_on}{' '} N/A
+ sx={{ 'td:first-child': { fontWeight: 'semibold', width: '50%' } }}> - + - + - + - + - + - @@ -318,11 +317,11 @@ const SearchDirectory: React.FC = ({ - {result?.mainnet?.verified_on ? ( + {result?.testnet?.verified_on ? ( ) : ( diff --git a/web/gds-user-ui/src/components/Sidebar/index.tsx b/web/gds-user-ui/src/components/Sidebar/index.tsx index 917b4554f..fe4663936 100644 --- a/web/gds-user-ui/src/components/Sidebar/index.tsx +++ b/web/gds-user-ui/src/components/Sidebar/index.tsx @@ -30,7 +30,7 @@ const Sidebar: React.FC = ({ children }) => { - + {children} diff --git a/web/gds-user-ui/src/modules/dashboard/member/index.tsx b/web/gds-user-ui/src/modules/dashboard/member/index.tsx index 86472e4b1..cc0cb01cc 100644 --- a/web/gds-user-ui/src/modules/dashboard/member/index.tsx +++ b/web/gds-user-ui/src/modules/dashboard/member/index.tsx @@ -15,7 +15,7 @@ const MemberPage: React.FC = () => { }> - +
Organization Name {result?.mainnet?.name || 'N/A'} {result?.testnet?.name || 'N/A'}
Common Name {result?.mainnet?.common_name || 'N/A'}{result?.testnet?.common_name || 'N/A'}
TRISA Service Endpoint {result?.mainnet?.endpoint || 'N/A'}{result?.testnet?.endpoint || 'N/A'}
- + Registered Directory {result?.mainnet?.registered_directory || 'N/A'}{result?.testnet?.registered_directory || 'N/A'}
- + TRISA Member ID {result?.mainnet?.id || 'N/A'}{result?.testnet?.id || 'N/A'}
Country - {getCountryName(result?.mainnet?.country as IsoCountryCode)} + {getCountryName(result?.testnet?.country as IsoCountryCode)} {' '} - {countryCodeEmoji(result?.mainnet?.country) || 'N/A'} + {countryCodeEmoji(result?.testnet?.country) || 'N/A'}
TRISA Verification {' '} VERIFIED ON{' '} - {result?.mainnet?.verified_on}{' '} + {result?.testnet?.verified_on}{' '} N/A