mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 10:15:37 +03:00
Prevent language select from breaking in Settings
This commit is contained in:
parent
dd772c10bf
commit
70aef6879a
1 changed files with 2 additions and 1 deletions
|
@ -365,10 +365,11 @@ function Settings({ onClose }) {
|
|||
>
|
||||
<div>
|
||||
<label>
|
||||
<Trans>Translate to </Trans>
|
||||
<Trans>Translate to </Trans>{' '}
|
||||
<select
|
||||
value={targetLanguage || ''}
|
||||
disabled={!snapStates.settings.contentTranslation}
|
||||
style={{ width: '10em' }}
|
||||
onChange={(e) => {
|
||||
states.settings.contentTranslationTargetLanguage =
|
||||
e.target.value || null;
|
||||
|
|
Loading…
Reference in a new issue