Skip to content

Commit

Permalink
Merge pull request #7527 from wso2/pavinduLakshan-patch-2
Browse files Browse the repository at this point in the history
Prevent delete call being sent on clicking on push authenticator details
  • Loading branch information
pavinduLakshan authored Feb 7, 2025
2 parents 76c7eda + 4502715 commit 5838e36
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export const PushAuthenticator: React.FunctionComponent<PushAuthenticatorProps>
</ConfirmationModal>
);


return (
<div className="push-authenticator">
{ renderPushAuthenticatorWizard() }
Expand Down Expand Up @@ -333,13 +332,7 @@ export const PushAuthenticator: React.FunctionComponent<PushAuthenticatorProps>
name="mobile alternate"
size="large"
className="device-icon"
data-componentId={ `${ componentId }-remove-device` }
onClick={
() => deleteRegisteredDevice(registeredDevice.deviceId)
}
/>


<ListItemText
primary={ registeredDevice?.name }
secondary={ registeredDevice?.model }
Expand Down

0 comments on commit 5838e36

Please sign in to comment.