Skip to content

Commit d1f82d9

Browse files
committed
code cleanup
1 parent dd127d3 commit d1f82d9

File tree

2 files changed

+1
-1
lines changed
  • app/javascript/components

2 files changed

+1
-1
lines changed

app/javascript/components/ansible-playbook-edit-catalog-form/helper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export const conditionalCheckbox = (props) => {
136136

137137
/** wrapper component to show the tenants tree structure */
138138
export const TreeViewReduxWrapper = (props) => {
139-
console.log(props)
140139
const propsData = useFieldApi(props);
141140
if (props.roleAllows) {
142141
return (

app/javascript/components/tree-view/reducers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const callIfAllowed = (functName, ...args) => {
4848

4949
const reducers = (oncheck, onclick) => (state = {}, action) => {
5050
const node = action.nodeId !== undefined ? Tree.nodeSelector(state, action.nodeId) : undefined;
51+
5152
switch (action.type) {
5253
case ACTIONS.CHECKED_DIRECTLY:
5354
callIfAllowed(oncheck, node.attr.key, action.value, state);

0 commit comments

Comments
 (0)