diff --git a/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx b/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx
index 637a7279f6..b44fbe6c5c 100644
--- a/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx
+++ b/plugins/org/src/components/Cards/Group/GroupProfile/GroupProfileCard.tsx
@@ -79,28 +79,31 @@ export const GroupProfileCard = ({
kind: 'group',
});
- const entityMetadataEditUrl = getEntityMetadataEditUrl(group) ?? '#';
+ const entityMetadataEditUrl = getEntityMetadataEditUrl(group);
const displayName = profile?.displayName ?? name;
const emailHref = profile?.email ? `mailto:${profile.email}` : '#';
+ const infoCardAction = entityMetadataEditUrl ? (
+
+
+
+ ) : (
+
+
+
+ );
return (
}
subheader={description}
variant={variant}
- action={
-
-
-
- }
+ action={infoCardAction}
>