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/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +3 -3
package/package.json
CHANGED
@@ -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={
|
332
|
-
case 'TREEDED': return <TreededContentEditor {...props} content={content} onChange={change} onReload={
|
333
|
-
default: return <ContentEditor {...props} content={content} onChange={change} onReload={
|
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
|
|