Skip to content

Commit

Permalink
[#6540] Platform: Remove certificate feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav061 committed Jan 7, 2021
1 parent d2f30c1 commit 5e81c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions managed/ui/src/components/certificates/Certificates.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Certificates extends Component {
*
* @param certificateUUID Unique id of certificate.
*/
deleteRootCertificate = (certificateUUID) => {
deleteCertificate = (certificateUUID) => {
api.deleteCertificate(certificateUUID).then(
() => {
this.props.fetchCustomerCertificates();
Expand Down Expand Up @@ -175,7 +175,7 @@ class Certificates extends Component {
</MenuItem>
<MenuItem
onClick={() => {
!deleteDisabled && this.deleteRootCertificate(payload?.uuid)
!deleteDisabled && this.deleteCertificate(payload?.uuid)
}}
disabled={deleteDisabled}
>
Expand Down

0 comments on commit 5e81c01

Please sign in to comment.