diff --git a/plugins/org/api-report.md b/plugins/org/api-report.md
index 23838c7b9e..c042ae38af 100644
--- a/plugins/org/api-report.md
+++ b/plugins/org/api-report.md
@@ -26,7 +26,7 @@ export const EntityGroupProfileCard: ({
// @public (undocumented)
export const EntityMembersListCard: (_props: {
entity?: GroupEntity | undefined;
- memberType?: string | undefined;
+ memberDisplayTitle?: string | undefined;
}) => JSX.Element;
// Warning: (ae-missing-release-tag) "EntityOwnershipCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -66,7 +66,7 @@ export const GroupProfileCard: ({
// @public (undocumented)
export const MembersListCard: (_props: {
entity?: GroupEntity;
- memberType?: string;
+ memberDisplayTitle?: string;
}) => JSX.Element;
// Warning: (ae-missing-release-tag) "orgPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
diff --git a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.test.tsx b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.test.tsx
index b4e103c9bd..f1d324a9b1 100644
--- a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.test.tsx
+++ b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.test.tsx
@@ -138,7 +138,7 @@ describe('MemberTab Test', () => {
wrapInTestApp(
-
+
,
,
diff --git a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
index 68af803116..ac2e1e0e8f 100644
--- a/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
+++ b/plugins/org/src/components/Cards/Group/MembersList/MembersListCard.tsx
@@ -111,10 +111,10 @@ const MemberComponent = ({ member }: { member: UserEntity }) => {
export const MembersListCard = (_props: {
/** @deprecated The entity is now grabbed from context instead */
entity?: GroupEntity;
- memberType?: string;
+ memberDisplayTitle?: string;
}) => {
const { entity: groupEntity } = useEntity();
- let { memberType } = _props;
+ let { memberDisplayTitle } = _props;
const {
metadata: { name: groupName, namespace: grpNamespace },
spec: { profile },
@@ -130,7 +130,7 @@ export const MembersListCard = (_props: {
setPage(pageIndex);
};
const pageSize = 50;
- memberType = memberType ? memberType : 'Members';
+ memberDisplayTitle = memberDisplayTitle ? memberDisplayTitle : 'Members';
const {
loading,
@@ -176,7 +176,9 @@ export const MembersListCard = (_props: {
return (
@@ -190,7 +192,7 @@ export const MembersListCard = (_props: {
) : (
- This group has no ${memberType.toLocaleLowerCase()}.
+ This group has no ${memberDisplayTitle.toLocaleLowerCase()}.
)}