diff --git a/pmp-revamp-ui/src/pages/partner/authenticationServices/ApiKeysList.js b/pmp-revamp-ui/src/pages/partner/authenticationServices/ApiKeysList.js index cd5c04e3..a9b7f0a3 100644 --- a/pmp-revamp-ui/src/pages/partner/authenticationServices/ApiKeysList.js +++ b/pmp-revamp-ui/src/pages/partner/authenticationServices/ApiKeysList.js @@ -158,6 +158,7 @@ function ApiKeysList() { const onClickConfirmDeactivate = (deactivationResponse, selectedApiKey) => { if (deactivationResponse !== "") { setShowDeactivatePopup(false); + setViewApiKeyId(-1); // Update the specific row in the state with the new status setApiKeysList((prevList) => prevList.map(apiKey =>