mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-30 16:55:10 +08:00
fix(settings): add notClearable prop to language selection (#13406)
This commit is contained in:
parent
ab2e6c19a4
commit
0451333990
@ -289,6 +289,7 @@ const SettingsModal: FC<ISettingsModalProps> = ({
|
|||||||
items={languages.filter(item => item.supported)}
|
items={languages.filter(item => item.supported)}
|
||||||
defaultValue={language}
|
defaultValue={language}
|
||||||
onSelect={item => setLanguage(item.value as Language)}
|
onSelect={item => setLanguage(item.value as Language)}
|
||||||
|
notClearable
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/* theme color */}
|
{/* theme color */}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user