Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-36311: Integrated server side pagination and sorting with v3 en… #850

Merged
merged 3 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pmp-reactjs-ui/public/i18n/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,8 @@
"selectPartnerType": "حدد نوع الشريك",
"selectEmailAddress": "حدد عنوان البريد الإلكتروني",
"selectPolicyGroup": "حدد مجموعة السياسات",
"selectStatus": "حدد الحالة"
"selectStatus": "حدد الحالة",
"errorInPartnersList": "أثناء جلب تفاصيل الشركاء، واجهنا خطأً."
},
"viewPartnerDetails": {
"viewPartnerDetails": "عرض تفاصيل الشريك",
Expand Down
3 changes: 2 additions & 1 deletion pmp-reactjs-ui/public/i18n/eng.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@
"selectPartnerType": "Select Partner Type",
"selectEmailAddress": "Select Email Address",
"selectPolicyGroup": "Select Policy Group",
"selectStatus": "Select Status"
"selectStatus": "Select Status",
"errorInPartnersList": "While fetching partners details, we have encountered with an error."
},
"viewPartnerDetails": {
"viewPartnerDetails": "View Partner Details",
Expand Down
3 changes: 2 additions & 1 deletion pmp-reactjs-ui/public/i18n/fra.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,8 @@
"selectPartnerType":"Sélectionnez le type de partenaire",
"selectEmailAddress": "Sélectionnez l'adresse e-mail",
"selectPolicyGroup":"Sélectionnez un groupe de stratégies",
"selectStatus":"Sélectionnez le statut"
"selectStatus":"Sélectionnez le statut",
"errorInPartnersList": "Lors de la récupération des détails des partenaires, nous avons rencontré une erreur."
},
"viewPartnerDetails": {
"viewPartnerDetails": "Afficher les détails du partenaire",
Expand Down
4 changes: 3 additions & 1 deletion pmp-reactjs-ui/src/nav/SideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ function SideNav({ open, policyRequiredPartnerTypes, partnerType }) {
setActiveIcon('ftmChipProviderServices');
} else if (selectedPath.includes('rootTrustCertificateList')) {
setActiveIcon("rootOfTrustCertificate");
} else if (selectedPath.includes('partnersList')) {
setActiveIcon("partner");
}
else {
setActiveIcon("home");
Expand Down Expand Up @@ -90,7 +92,7 @@ function SideNav({ open, policyRequiredPartnerTypes, partnerType }) {
navigate('/partnermanagement/admin/certificates/rootTrustCertificateList');
};
const showPartner = () => {
setActiveIcon("partner");
navigate('/partnermanagement/admin/partnersList');
};
const showAdminPolicies = () => {
setActiveIcon("admin_policies");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function RootTrustCertificateList() {
<div className="bg-[#FCFCFC] w-full mt-1 rounded-t-xl shadow-lg pt-3">
<FilterButtons
listTitle="rootTrustCertificate.listOfCertificates"
dataList={filteredCertificateData}
dataListLength={filteredCertificateData.length}
filter={filter}
onResetFilter={onResetFilter}
setFilter={setFilter}
Expand Down Expand Up @@ -478,7 +478,7 @@ function RootTrustCertificateList() {
</div>
</div>
<Pagination
dataList={filteredCertificateData}
dataListLength={filteredCertificateData.length}
selectedRecordsPerPage={selectedRecordsPerPage}
setSelectedRecordsPerPage={setSelectedRecordsPerPage}
setFirstIndex={setFirstIndex}
Expand Down
Loading
Loading