Revert "Don't reset content language on edit"

This reverts commit 09aceb6295.
This commit is contained in:
infinite-persistence 2021-06-13 15:44:44 +08:00
parent 9eb0d2a87e
commit c2ff765a60

View file

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