Skip to content

Commit

Permalink
fix: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Feb 28, 2022
1 parent 4b5b3ab commit a983227
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions admin-ui/plugins/admin/components/Mapping/MappingItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ function MappingItem({ candidate, roles }) {
}
setSearchAblePermissions(filteredArr)
}
useEffect(() => {
console.log('candidate', candidate)
}, [])

const revertLocalChanges = () => {
dispatch(updatePermissionsServerResponse(JSON.parse(serverPermissions)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const RoleAddDialogForm = ({ handler, modal, onAccept }) => {
type="checkbox"
name="deletable"
onChange={(e) => {
console.log(e.target.checked)
setDeletable(e.target.checked)
}}
checked={deletable}
Expand Down
6 changes: 0 additions & 6 deletions admin-ui/plugins/admin/components/Roles/UiRoleListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ function UiRoleListPage({ apiRoles, permissions, loading, dispatch }) {
})
}

useEffect(() => {
console.log(apiRoles)
}, [apiRoles])

function handleAddNewRole() {
toggle()
}
Expand Down Expand Up @@ -86,7 +82,6 @@ function UiRoleListPage({ apiRoles, permissions, loading, dispatch }) {
title: `${t('fields.deletable')}`,
field: 'deletable',
editComponent: (rowData) => {
console.log(rowData.rowData.deletable)
return (
<select
onChange={(e) => rowData.onChange(e.target.value)}
Expand Down Expand Up @@ -142,7 +137,6 @@ function UiRoleListPage({ apiRoles, permissions, loading, dispatch }) {
editable={{
onRowUpdate: (newData, oldData) =>
new Promise((resolve, reject) => {
console.log(newData)
buildPayload(userAction, 'Edit role', newData)
dispatch(editRole(userAction))
resolve()
Expand Down

0 comments on commit a983227

Please sign in to comment.