diff --git a/packages/plugins/file-manager/src/client/interfaces/attachment.ts b/packages/plugins/file-manager/src/client/interfaces/attachment.ts index 0b108fb46..0a317fb50 100644 --- a/packages/plugins/file-manager/src/client/interfaces/attachment.ts +++ b/packages/plugins/file-manager/src/client/interfaces/attachment.ts @@ -31,7 +31,7 @@ export const attachment: IField = { schema['x-component-props'] = {}; } schema['x-component-props']['action'] = `${field.target}:create${ - field.storage ? `?attachementField=${field.collectionName}.${field.name}` : '' + field.storage ? `?attachmentField=${field.collectionName}.${field.name}` : '' }`; }, initialize: (values: any) => {