Adding a warning for deselecting the undetermined language. (#945)

- Fixes #930
This commit is contained in:
Dessalines 2023-02-21 15:53:35 -05:00 committed by GitHub
parent a09b301429
commit 12ed6ed31a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 28 deletions

@ -1 +1 @@
Subproject commit 819531ae64c6cba12cb406eb98333fd52988bf3e
Subproject commit 7379716231b9f7e67f710751c839398b7ab5d65e

View file

@ -47,6 +47,10 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
return this.props.iconVersion ? (
this.selectBtn
) : (
<div>
<div className="alert alert-warning" role="alert">
{i18n.t("undetermined_language_warning")}
</div>
<div className="form-group row">
<label
className={classNames("col-form-label", {
@ -76,6 +80,7 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
)}
</div>
</div>
</div>
);
}