Feat: add check before install plugin (#20014)

This commit is contained in:
NFish 2025-06-18 15:51:23 +08:00 • committed by GitHub
commit 614c5e087e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 337 additions and 135 deletions

View file

@ -124,7 +124,7 @@ const Installed: FC<Props> = ({
/>
</p>
{!isDifyVersionCompatible && (
<p className='system-md-regular flex items-center gap-1 text-text-secondary text-text-warning'>
<p className='system-md-regular flex items-center gap-1 text-text-warning'>
{t('plugin.difyVersionNotCompatible', { minimalDifyVersion: payload.meta.minimum_dify_version })}
</p>
)}