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 Dessalines
parent d52c5491dc
commit c2325ba743

View file

@ -48,11 +48,9 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
this.selectBtn this.selectBtn
) : ( ) : (
<div> <div>
{this.props.multiple && (
<div className="alert alert-warning" role="alert"> <div className="alert alert-warning" role="alert">
{i18n.t("undetermined_language_warning")} {i18n.t("undetermined_language_warning")}
</div> </div>
)}
<div className="form-group row"> <div className="form-group row">
<label <label
className={classNames("col-form-label", { className={classNames("col-form-label", {