From 0f1078415500a926aecacb644f76face10b1e76e Mon Sep 17 00:00:00 2001 From: Prasetya Aria Wibawa Date: Thu, 22 Sep 2022 11:12:19 +0700 Subject: [PATCH] use primary and secondary for all ListItemText Signed-off-by: Prasetya Aria Wibawa --- .../Group/GroupProfile/GroupProfileCard.tsx | 53 +++++++++++-------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx b/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx index 1b18261328..dfdb566b20 100644 --- a/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx +++ b/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx @@ -144,9 +144,10 @@ export const GroupProfileCard = (props: { variant?: InfoCardVariants }) => { - - {profile.email} - + {profile.email}} + secondary="Email" + /> )} @@ -155,16 +156,19 @@ export const GroupProfileCard = (props: { variant?: InfoCardVariants }) => { - - {parentRelations.length ? ( - - ) : ( - '-' - )} - + + ) : ( + 'N/A' + ) + } + secondary="Parent Group" + /> @@ -172,16 +176,19 @@ export const GroupProfileCard = (props: { variant?: InfoCardVariants }) => { - - {childRelations.length ? ( - - ) : ( - '-' - )} - + + ) : ( + 'N/A' + ) + } + secondary="Child Groups" + />