Don't reset content language on edit

This commit is contained in:
saltrafael 2021-06-04 18:27:52 -03:00 committed by Thomas Zarebczan
parent eff948f786
commit 09aceb6295

View file

@ -161,7 +161,7 @@ function PublishAdditionalOptions(props: Props) {
type="select" type="select"
name="content_language" name="content_language"
value={language} value={language}
onChange={(event) => updatePublishForm({ language: event.target.value })} onChange={(event) => updatePublishForm({ languages: [event.target.value] })}
> >
{sortLanguageMap(SUPPORTED_LANGUAGES).map(([langKey, langName]) => ( {sortLanguageMap(SUPPORTED_LANGUAGES).map(([langKey, langName]) => (
<option key={langKey} value={langKey}> <option key={langKey} value={langKey}>