fix: use English as the default i18n language (#2663)
This commit is contained in:
parent
bc65ee10c0
commit
e94b323e6c
9 changed files with 33 additions and 19 deletions
|
|
@ -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}`}
|
||||
/>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue