You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b86cbf8
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -639,9 +638,7 @@ export function validateValueForSubBlockType(
639
638
blockType,
640
639
field: fieldName,
641
640
value,
642
-
error: subBlockConfig.multiple
643
-
? `Invalid file-upload value for field "${fieldName}" - expected a list of objects with "name" and "path" properties, or null`
644
-
: `Invalid file-upload value for field "${fieldName}" - expected one object with "name" and "path" properties, or null`,
641
+
error: `Invalid file-upload value for field "${fieldName}" - expected ${subBlockConfig.multiple ? 'a list of objects' : 'one object'} with "name" and "path" properties, or null`,
0 commit comments