fix: #1877, #1867 - mimeTypes and imageSizes no longer cause error in admin ui

This commit is contained in:
James
2023-01-15 09:41:54 -05:00
parent d6d4906148
commit b06ca700be
2 changed files with 2 additions and 1 deletions

View File

@@ -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}.`,