@stonecrop/stonecrop 0.33.0 → 0.35.0
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/stonecrop.js +7 -1
- package/dist/stonecrop.js.map +1 -1
- package/package.json +4 -4
package/dist/stonecrop.js
CHANGED
|
@@ -2966,7 +2966,13 @@ var Registry = class Registry {
|
|
|
2966
2966
|
*/
|
|
2967
2967
|
buildTableConfig(field, childSchema, component) {
|
|
2968
2968
|
const columns = resolvedFieldsToColumns(childSchema);
|
|
2969
|
-
const config = field.config
|
|
2969
|
+
const config = field.config ? {
|
|
2970
|
+
fullWidth: true,
|
|
2971
|
+
...field.config
|
|
2972
|
+
} : {
|
|
2973
|
+
view: "list",
|
|
2974
|
+
fullWidth: true
|
|
2975
|
+
};
|
|
2970
2976
|
const { options: _opt, cardinality: _card, ...fieldRest } = field;
|
|
2971
2977
|
return {
|
|
2972
2978
|
...fieldRest,
|