diff --git a/packages/ui/src/ui-component/extended/FileUpload.jsx b/packages/ui/src/ui-component/extended/FileUpload.jsx index 2555ee147..bc1fd9962 100644 --- a/packages/ui/src/ui-component/extended/FileUpload.jsx +++ b/packages/ui/src/ui-component/extended/FileUpload.jsx @@ -1,4 +1,4 @@ -import { useDispatch } from 'react-redux' +import { useDispatch, useSelector } from 'react-redux' import { useState, useEffect } from 'react' import PropTypes from 'prop-types' import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction, SET_CHATFLOW } from '@/store/actions' @@ -41,6 +41,7 @@ const availableFileTypes = [ const FileUpload = ({ dialogProps }) => { const dispatch = useDispatch() + const customization = useSelector((state) => state.customization) useNotifier() @@ -234,14 +235,18 @@ const FileUpload = ({ dialogProps }) => { - PDF Configuration + + PDF Configuration + PDF Usage