diff --git a/frontend/src/components/chat/MessageComposer/UploadButton.tsx b/frontend/src/components/chat/MessageComposer/UploadButton.tsx index 675b41ee90..dab8ba345f 100644 --- a/frontend/src/components/chat/MessageComposer/UploadButton.tsx +++ b/frontend/src/components/chat/MessageComposer/UploadButton.tsx @@ -35,7 +35,7 @@ export const UploadButton = ({ if (!upload) return null; const { getRootProps, getInputProps } = upload; - if (!config?.features.spontaneous_file_upload) return null; + if (!config?.features.spontaneous_file_upload?.enabled) return null; return (