Skip to content

Commit

Permalink
feat: protecting Admin-UI Plugin Apis #346
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Jan 6, 2022
1 parent ab4563b commit ee4543f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function LicenseDetailsPage({ item, loading, dispatch }) {
<FormGroup row />
</CardTitle>
<GluuLoader blocking={loading}>
{item.licenseEnable ? (
{item.licenseEnabled ? (
<>
<Container style={{ backgroundColor: '#F5F5F5' }}>
<Row>
Expand Down
1 change: 0 additions & 1 deletion plugins/admin/redux/api/LicenseDetailsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default class LicenseDetailsApi {
options['licenseRequest'] = data
return new Promise((resolve, reject) => {
this.api.editAdminuiLicense(options, (error, options) => {
alert(JSON.stringify(data))
this.handleResponse(error, reject, resolve, data)
})
})
Expand Down

0 comments on commit ee4543f

Please sign in to comment.