chore: update the model install button

This commit is contained in:
Yi
2025-01-07 12:48:36 +08:00
parent 275696edba
commit e6eae8568f
3 changed files with 25 additions and 41 deletions

View File

@ -17,7 +17,7 @@ const InstallButton = ({ loading, onInstall, t }: InstallButtonProps) => {
{loading ? t('workflow.nodes.agent.pluginInstaller.installing') : t('workflow.nodes.agent.pluginInstaller.install')}
</div>
{loading
? <RiLoader2Line className='w-3.5 h-3.5 text-text-quaternary' />
? <RiLoader2Line className='w-3.5 h-3.5 text-text-quaternary animate-spin' />
: <RiInstallLine className='w-3.5 h-3.5 text-text-secondary' />
}
</Button>