mirror of
https://github.com/langgenius/dify.git
synced 2026-01-07 23:04:12 +00:00
fix: creating modal style
This commit is contained in:
@@ -14,7 +14,7 @@ export const EncryptedBottom = (props: Props) => {
|
||||
const { frontTextKey, backTextKey, className } = props
|
||||
|
||||
return (
|
||||
<div className={cn('system-xs-regular flex items-center border-t-[0.5px] border-divider-subtle bg-background-soft px-2 py-3 text-text-tertiary', className)}>
|
||||
<div className={cn('system-xs-regular flex items-center rounded-b-2xl border-t-[0.5px] border-divider-subtle bg-background-soft px-2 py-3 text-text-tertiary', className)}>
|
||||
<RiLock2Fill className='mx-1 h-3 w-3 text-text-quaternary' />
|
||||
{t(frontTextKey || 'common.provider.encrypted.front')}
|
||||
<Link
|
||||
|
||||
@@ -212,10 +212,10 @@ export const CommonCreateModal = ({ onClose, createType, builder }: Props) => {
|
||||
// console.log('parameterForm', parameterForm)
|
||||
|
||||
if (!subscriptionFormValues?.isCheckValidated || (createType !== SupportedCreationMethods.MANUAL && !autoCommonParametersFormValues?.isCheckValidated)) {
|
||||
Toast.notify({
|
||||
type: 'error',
|
||||
message: 'Please fill in all required fields',
|
||||
})
|
||||
// Toast.notify({
|
||||
// type: 'error',
|
||||
// message: 'Please fill in all required fields',
|
||||
// })
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user