Skip to content

Commit

Permalink
MOSIP-35264: Updated deactivate component in OIDC Client List (#718)
Browse files Browse the repository at this point in the history
* MOSIP-35264: Updated deactivate component in OIDC Client List

Signed-off-by: SwethaKrish4 <[email protected]>

* MOSIP-35264: Updated deactivate component in OIDC Client List

Signed-off-by: SwethaKrish4 <[email protected]>

---------

Signed-off-by: SwethaKrish4 <[email protected]>
  • Loading branch information
SwethaKrish4 authored Aug 27, 2024
1 parent 8514370 commit 0a37a44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function OidcClientsList() {
)
}
{showDeactivatePopup && (
<DeactivatePopup closePopUp={closeDeactivatePopup} clientData={client} request={deactivateRequest} headerMsg='deactivateOidcClient.oidcClientName' descriptionMsg='deactivateOidcClient.description' clientName={client.oidcClientName}></DeactivatePopup>
<DeactivatePopup closePopUp={closeDeactivatePopup} popupData={client} request={deactivateRequest} headerMsg='deactivateOidcClient.oidcClientName' descriptionMsg='deactivateOidcClient.description' headerKeyName={client.oidcClientName}></DeactivatePopup>
)}
</div>
)}
Expand Down
4 changes: 0 additions & 4 deletions pmp-reactjs-ui/src/pages/common/DeactivatePopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ function DeactivatePopup({ closePopUp, popupData, request, headerMsg, descriptio
closePopUp()
};

if (popupData.isDeactivateSbi) {
var countOfDevicesGetDeactivate = JSON.parse(popupData.countOfApprovedDevices)
}

const clickOnConfirm = async () => {
setErrorCode("");
setErrorMsg("");
Expand Down

0 comments on commit 0a37a44

Please sign in to comment.