mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
fix: use English as the default i18n language (#2663)
This commit is contained in:
@ -26,7 +26,7 @@ const ModelIcon: FC<ModelIconProps> = ({
|
||||
return (
|
||||
<img
|
||||
alt='model-icon'
|
||||
src={`${provider.icon_small[language]}?_token=${localStorage.getItem('console_token')}`}
|
||||
src={`${provider.icon_small[language] || provider.icon_small.en_US}?_token=${localStorage.getItem('console_token')}`}
|
||||
className={`w-4 h-4 ${className}`}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user