mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
chore: update switch plugin i18n
This commit is contained in:
@ -160,6 +160,7 @@ export const AgentStrategySelector = memo((props: AgentStrategySelectorProps) =>
|
||||
uniqueIdentifier={'langgenius/openai:12'}
|
||||
onSelect={console.error}
|
||||
version={''}
|
||||
tooltip={t('workflow.nodes.agent.switchToNewVersion')}
|
||||
/>}
|
||||
</div>}
|
||||
</div>
|
||||
|
||||
@ -34,7 +34,7 @@ export const SwitchPluginVersion: FC<SwitchPluginVersionProps> = (props) => {
|
||||
onSelect(targetVersion!)
|
||||
}, [hideUpdateModal, onSelect, targetVersion])
|
||||
return <Tooltip popupContent={!isShow && tooltip} triggerMethod='hover'>
|
||||
<div>
|
||||
<div className='w-fit'>
|
||||
{isShowUpdateModal && pluginDetail && <UpdateFromMarketplace
|
||||
payload={{
|
||||
originalPackageInfo: {
|
||||
@ -61,7 +61,7 @@ export const SwitchPluginVersion: FC<SwitchPluginVersionProps> = (props) => {
|
||||
trigger={
|
||||
<Badge
|
||||
className={cn(
|
||||
'mx-1 hover:bg-state-base-hover',
|
||||
'mx-1 hover:bg-state-base-hover flex',
|
||||
isShow && 'bg-state-base-hover',
|
||||
)}
|
||||
uppercase={true}
|
||||
|
||||
Reference in New Issue
Block a user