Update dialog title and description

This commit is contained in:
Ilango
2024-02-20 17:00:45 +05:30
parent 31c89aa8e6
commit dd0862b6e1
2 changed files with 5 additions and 2 deletions
@@ -169,7 +169,10 @@ const AllowedDomainsDialog = ({ show, dialogProps, onCancel, onConfirm }) => {
flexDirection: 'column'
}}
>
<span>Your chatbot will only work when used from the following domains</span>
<span>
Your chatbot will only work when used from the following domains. When adding domains, exclude the{' '}
<pre style={{ display: 'inline' }}>http://</pre> or <pre style={{ display: 'inline' }}>https://</pre> part.
</span>
</div>
<Box sx={{ '& > :not(style)': { m: 1 }, pt: 2 }}>
<List>
+1 -1
View File
@@ -70,7 +70,7 @@ const CanvasHeader = ({ chatflow, handleSaveFlow, handleDeleteFlow, handleLoadFl
setConversationStartersDialogOpen(true)
} else if (setting === 'allowedDomains') {
setAllowedDomainsDialogProps({
title: 'Starter Prompts - ' + chatflow.name,
title: 'Allowed Domains - ' + chatflow.name,
chatflow: chatflow
})
setAllowedDomainsDialogOpen(true)