Skip to content

Commit

Permalink
fix(admin-ui): remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Jun 6, 2022
1 parent cfdfe9c commit 3f84158
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
],
"main": "index.js",
"scripts": {
"preinstall": "npx npm-force-resolutions",
"test": "NODE_ENV=test jest",
"test:watch": "npm test -- --watch",
"start": "export $(cat .env | xargs) && npm run start:dev",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,10 @@ function UserEditPage() {
initialValues: initialValues,
onSubmit: (values) => {
submitData(values)
// alert(JSON.stringify(values, null, 2))
},
})
return (
<React.Fragment>
{/* <GluuRibbon title={t('titles.user_management')} fromLeft /> */}
<GluuAlert
severity={t('titles.error')}
message={t('messages.error_in_saving')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ function UserList(props) {
}))
}

// function handleAddNewRole() {
// toggle()
// }
// function doFetchList() {
// buildPayload(userAction, 'ROLES', options)
// dispatch(getRoles(userAction))
// }
// function onAddConfirmed(roleData) {
// buildPayload(userAction, 'message', roleData)
// dispatch(addRole(userAction))
// toggle()
// doFetchList()
// }

return (
<Card>
<GluuRibbon title={t('titles.user_management')} fromLeft />
Expand Down

0 comments on commit 3f84158

Please sign in to comment.