Don't reset content language on edit
This commit is contained in:
parent
eff948f786
commit
09aceb6295
1 changed files with 1 additions and 1 deletions
|
@ -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}>
|
||||||
|
|
Loading…
Reference in a new issue