Only show the determined warning for multiple. (#952)

This commit is contained in:
Dessalines 2023-02-22 08:03:04 -05:00 committed by GitHub
parent 7e17998777
commit 578709b986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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