Only show the determined warning for multiple.

This commit is contained in:
Dessalines 2023-02-22 08:00:03 -05:00
parent 7e17998777
commit f627823b82

View file

@ -48,9 +48,11 @@ 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", {