Skip to content

Commit

Permalink
MOSIP-36144: UI Development Partner Admin Tabular View of uploaded ce…
Browse files Browse the repository at this point in the history
…rtificates

Signed-off-by: Anil_Kumar_Majji <[email protected]>
  • Loading branch information
Anil-kumar-Majji committed Dec 12, 2024
1 parent 6773e53 commit 7541bbf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ function IntermediateRootTrustCertificatesList() {
return (
<RootCertificateList
certificateType='intermediate'
uploadCertificateButtonName='rootTrustCertificate.UploadCertBtn'
/>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -185,7 +185,7 @@ function RootCertificateList({certificateType, uploadCertificateButtonName}) {
<Title title="rootTrustCertificate.rootOfTrustCertificates" backLink="/partnermanagement" />
{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
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ function RootTrustCertificatesList() {
return (
<RootCertificateList
certificateType = 'root'
uploadCertificateButtonName='rootTrustCertificate.UploadCertBtn'
/>
)
}
Expand Down

0 comments on commit 7541bbf

Please sign in to comment.