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 f91940a8b3
commit 79fb020fc8

View file

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