ywana-core8 0.0.40 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -32,7 +32,6 @@ export const CreateContentDialog = ({ label, type, value = {}, filter, validator
32
32
  }
33
33
 
34
34
  function filterForm(field, content) {
35
- console.log('------ filterForm------------', field.id, filter)
36
35
  const visible = field.required === true || field.optional === true
37
36
  return filter ? visible && filter(field, content) : visible
38
37
  }
@@ -47,7 +47,7 @@ export const TablePage = (props) => {
47
47
  setPageContext(Object.assign({}, pageContext))
48
48
  }
49
49
  //site.openDialog(<EditContentDialog label={`Crear ${name}`} type={schema} onOK={onOK} validator={validator} />);
50
- site.openDialog(<CreateContentDialog label={`Crearr ${name}`} type={schema} onOK={onOK} validator={validator} filter={formFilter}/>);
50
+ site.openDialog(<CreateContentDialog label={`Crear ${name}`} type={schema} onOK={onOK} validator={validator} filter={formFilter}/>);
51
51
  }
52
52
 
53
53
  function change(next) {