fix: plugin.config.array.$width was not working
Massimo Melina committed
Feb 17, 2023 at 22:04 UTC
d97c1fc8b17ea2f0eff6dca63a548b7a19edd3fa
1 file changed
+1
-1
admin/src/InstalledPlugins.ts
+1
-1
@@ -111,7 +111,7 @@ function makeFields(config: any) {
111
return Object.entries(config).map(([k,o]: [string,any]) => {
112
if (!_.isPlainObject(o))
113
return o
114
- let { type, defaultValue, fields, $column, $width, ...rest } = o
114
+ let { type, defaultValue, fields, ...rest } = o
115
const comp = (type2comp as any)[type] as Field<any> | undefined
116
if (comp === ArrayField)
117
fields = makeFields(fields)