fix: no var text still show split line (#239)

This commit is contained in:
Joel 2023-05-29 14:35:21 +08:00 committed by GitHub
parent 7660539689
commit 408fb502a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,8 +60,9 @@ const ConfigSence: FC<IConfigSenceProps> = ({
</div>
</div>
))}
<div className='mt-6 h-[1px] bg-gray-100'></div>
{promptConfig.prompt_variables.length > 0 && (
<div className='mt-6 h-[1px] bg-gray-100'></div>
)}
<div className='w-full mt-5'>
<label className='text-gray-900 text-sm font-medium'>{t('share.generation.queryTitle')}</label>
<div className="mt-2 overflow-hidden rounded-lg bg-gray-50 ">