ywana-core8 0.0.561 → 0.0.562

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.561",
3
+ "version": "0.0.562",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -328,9 +328,9 @@ const CollectionEditor = (props) => {
328
328
  function renderEditor() {
329
329
  const content = new Content(schema, form)
330
330
  switch (layout) {
331
- case 'TABBED': return <TabbedContentEditor {...props} content={content} onChange={change} onReload={reload}/>
332
- case 'TREEDED': return <TreededContentEditor {...props} content={content} onChange={change} onReload={reload}/>
333
- default: return <ContentEditor {...props} content={content} onChange={change} onReload={reload}/>
331
+ case 'TABBED': return <TabbedContentEditor {...props} content={content} onChange={change} onReload={onReload}/>
332
+ case 'TREEDED': return <TreededContentEditor {...props} content={content} onChange={change} onReload={onReload}/>
333
+ default: return <ContentEditor {...props} content={content} onChange={change} onReload={onReload}/>
334
334
  }
335
335
  }
336
336