🚸 (sendEmail) Improve file attachments label
This commit is contained in:
@@ -17,6 +17,7 @@ import { VariableSearchInput } from '@/components/inputs/VariableSearchInput'
|
|||||||
import { CredentialsDropdown } from '@/features/credentials/components/CredentialsDropdown'
|
import { CredentialsDropdown } from '@/features/credentials/components/CredentialsDropdown'
|
||||||
import { TextInput, Textarea } from '@/components/inputs'
|
import { TextInput, Textarea } from '@/components/inputs'
|
||||||
import { useWorkspace } from '@/features/workspace/WorkspaceProvider'
|
import { useWorkspace } from '@/features/workspace/WorkspaceProvider'
|
||||||
|
import { MoreInfoTooltip } from '@/components/MoreInfoTooltip'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
options: SendEmailOptions
|
options: SendEmailOptions
|
||||||
@@ -188,9 +189,16 @@ export const SendEmailSettings = ({ options, onOptionsChange }: Props) => {
|
|||||||
</Stack>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
<Stack>
|
<Stack>
|
||||||
<FormLabel mb="0" htmlFor="variable">
|
<HStack>
|
||||||
Attachments:
|
<FormLabel m="0" htmlFor="variable">
|
||||||
</FormLabel>
|
Attach files:
|
||||||
|
</FormLabel>
|
||||||
|
<MoreInfoTooltip>
|
||||||
|
The selected variable should have previously collected files from
|
||||||
|
the File upload input block.
|
||||||
|
</MoreInfoTooltip>
|
||||||
|
</HStack>
|
||||||
|
|
||||||
<VariableSearchInput
|
<VariableSearchInput
|
||||||
initialVariableId={options.attachmentsVariableId}
|
initialVariableId={options.attachmentsVariableId}
|
||||||
onSelectVariable={handleChangeAttachmentVariable}
|
onSelectVariable={handleChangeAttachmentVariable}
|
||||||
|
|||||||
Reference in New Issue
Block a user