This commit is contained in:
@@ -191,7 +191,7 @@ export const addFieldStatePromise = async ({
|
||||
id,
|
||||
operation,
|
||||
fields: field.fields,
|
||||
data: data?.[field.name],
|
||||
data: data?.[field.name] || {},
|
||||
fullData,
|
||||
parentPassesCondition: passesCondition,
|
||||
path: `${path}${field.name}.`,
|
||||
|
||||
@@ -39,6 +39,7 @@ export default buildConfig({
|
||||
upload: {
|
||||
staticURL: '/media',
|
||||
staticDir: './media',
|
||||
mimeTypes: ['image/png', 'image/jpg', 'image/jpeg', 'image/svg+xml'],
|
||||
resizeOptions: {
|
||||
width: 1280,
|
||||
height: 720,
|
||||
|
||||
Reference in New Issue
Block a user