diff --git a/pmp-revamp-ui/src/pages/admin/certificates/IntermediateRootTrustCertificatesList.js b/pmp-revamp-ui/src/pages/admin/certificates/IntermediateRootTrustCertificatesList.js index c58b4d3d..98c9dacf 100644 --- a/pmp-revamp-ui/src/pages/admin/certificates/IntermediateRootTrustCertificatesList.js +++ b/pmp-revamp-ui/src/pages/admin/certificates/IntermediateRootTrustCertificatesList.js @@ -4,7 +4,6 @@ function IntermediateRootTrustCertificatesList() { return ( ) } diff --git a/pmp-revamp-ui/src/pages/admin/certificates/RootCertificateList.js b/pmp-revamp-ui/src/pages/admin/certificates/RootCertificateList.js index ade0421a..21db7df6 100644 --- a/pmp-revamp-ui/src/pages/admin/certificates/RootCertificateList.js +++ b/pmp-revamp-ui/src/pages/admin/certificates/RootCertificateList.js @@ -16,7 +16,7 @@ import Pagination from "../../common/Pagination"; import RootTrustCertificateTab from "./RootTrustCertificateTab"; import EmptyList from "../../common/EmptyList"; -function RootCertificateList({certificateType, uploadCertificateButtonName}) { +function RootCertificateList({certificateType}) { const { t } = useTranslation(); const navigate = useNavigate(); @@ -185,7 +185,7 @@ function RootCertificateList({certificateType, uploadCertificateButtonName}) { {rootTrustCertificates.length !== 0 ? <button onClick={showUploadCertificate} id='upload_root_trust_certificate_btn' type="button" className="h-10 text-sm px-3 font-semibold text-white bg-tory-blue rounded-md max-330:h-fit"> - {t(uploadCertificateButtonName)} + {t('rootTrustCertificate.UploadCertBtn')} </button> : null } diff --git a/pmp-revamp-ui/src/pages/admin/certificates/RootTrustCertificatesList.js b/pmp-revamp-ui/src/pages/admin/certificates/RootTrustCertificatesList.js index c84bb541..a6488e3c 100644 --- a/pmp-revamp-ui/src/pages/admin/certificates/RootTrustCertificatesList.js +++ b/pmp-revamp-ui/src/pages/admin/certificates/RootTrustCertificatesList.js @@ -5,7 +5,6 @@ function RootTrustCertificatesList() { return ( <RootCertificateList certificateType = 'root' - uploadCertificateButtonName='rootTrustCertificate.UploadCertBtn' /> ) }