ywana-core8 0.0.692 → 0.0.693
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 +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +13 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +13 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +11 -1
package/dist/index.umd.js
CHANGED
@@ -6320,6 +6320,18 @@
|
|
6320
6320
|
}
|
6321
6321
|
}
|
6322
6322
|
|
6323
|
+
function renderActions() {
|
6324
|
+
if (actions) {
|
6325
|
+
return actions.map(function (action) {
|
6326
|
+
// clone React action
|
6327
|
+
var action2 = React__default["default"].cloneElement(action, {
|
6328
|
+
form: form
|
6329
|
+
});
|
6330
|
+
return action2;
|
6331
|
+
});
|
6332
|
+
}
|
6333
|
+
}
|
6334
|
+
|
6323
6335
|
function renderEditor() {
|
6324
6336
|
var content = new Content(schema, form);
|
6325
6337
|
|
@@ -6365,7 +6377,7 @@
|
|
6365
6377
|
raised: true,
|
6366
6378
|
disabled: !canSave(),
|
6367
6379
|
action: save
|
6368
|
-
}),
|
6380
|
+
}), renderActions()), renderEditor()) : null;
|
6369
6381
|
};
|
6370
6382
|
/**
|
6371
6383
|
* Collection Context
|