diff --git a/src/api/invitations.ts b/src/api/invitations.ts index 9fd30583f..28303043e 100644 --- a/src/api/invitations.ts +++ b/src/api/invitations.ts @@ -208,7 +208,7 @@ export const getEcosystemInvitations = async (pageNumber: number, pageSize: numb const ecosystemId = await getFromLocalStorage(storageKeys.ECOSYSTEM_ID); const orgId = await getFromLocalStorage(storageKeys.ORG_ID); - const url = `${apiRoutes.Ecosystem.root}/${ecosystemId}/${orgId}${apiRoutes.Ecosystem.invitations}` + const url = `${apiRoutes.Ecosystem.root}/${ecosystemId}/${orgId}${apiRoutes.Ecosystem.invitations}?pageNumber=${pageNumber}&pageSize=${pageSize}&search=${search}` const token = await getFromLocalStorage(storageKeys.TOKEN) diff --git a/src/components/Ecosystem/Dashboard.tsx b/src/components/Ecosystem/Dashboard.tsx index 3e5a9762f..c4d678d58 100644 --- a/src/components/Ecosystem/Dashboard.tsx +++ b/src/components/Ecosystem/Dashboard.tsx @@ -391,12 +391,12 @@ const Dashboard = () => { >
Edit Ecosystem
- + {/*
Enable/Disable Ecosystem
-
- + */} + {/*
Manual Registration
-
+
*/} ) : ( { + { props.closeModal() setErrMsg(null) }} size="xl"> {isEcosystemData?.isEcosystemLead ? ( -
Requested {props.endorsementData?.type}
+
Requested {props.endorsementData?.type === EndorsementType.credDef ? "Credential Definition" : "Schema" }
) : ( -
View {props.endorsementData?.type}
+
View {props.endorsementData?.type === EndorsementType.credDef ? "Credential Definition" : "Schema"}
)}
diff --git a/src/components/Ecosystem/MemberList.tsx b/src/components/Ecosystem/MemberList.tsx index fd9282786..a5f61c1e1 100644 --- a/src/components/Ecosystem/MemberList.tsx +++ b/src/components/Ecosystem/MemberList.tsx @@ -200,7 +200,7 @@ const MemberList = () => { loading={loading} > - {currentPage.pageNumber > 1 && ( + {currentPage.total > 1 && (
{ ) )} - {currentPage.pageNumber > 1 &&
+ {currentPage.total > 1 &&
{
)} - {currentPage.pageNumber >1 && ( + {currentPage.total > 1 && (
{ )} {index === attribute.length - 1 && ( -
+
diff --git a/src/components/organization/EditOrgdetailsModal.tsx b/src/components/organization/EditOrgdetailsModal.tsx index 3f6563962..997179817 100644 --- a/src/components/organization/EditOrgdetailsModal.tsx +++ b/src/components/organization/EditOrgdetailsModal.tsx @@ -136,9 +136,7 @@ const EditOrgdetailsModal = (props: EditOrgdetailsModalProps) => { setIsImageEmpty(true) return true } - - - const handleImageChange = (event: any): void => { + const handleImageChange = (event: any): void => { setImgError('') const reader = new FileReader() const file = event?.target?.files @@ -268,8 +266,6 @@ const EditOrgdetailsModal = (props: EditOrgdetailsModalProps) => { alt="Jese picture" /> } - -

Organization Logo @@ -320,7 +316,6 @@ const EditOrgdetailsModal = (props: EditOrgdetailsModalProps) => {

-
{ onChange={() => setIsPublic(false)} id="private" name="private" - /> - Private - Only the connected organization can see you organization details - + />PrivateOnly the connected organization can see your organization details
{ id="public" name="public" /> - Public Your profile and organization details can be seen by everyone
-