Only show the determined warning for multiple. (#952)
This commit is contained in:
parent
7e17998777
commit
578709b986
1 changed files with 5 additions and 3 deletions
|
@ -48,9 +48,11 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
|
|||
this.selectBtn
|
||||
) : (
|
||||
<div>
|
||||
<div className="alert alert-warning" role="alert">
|
||||
{i18n.t("undetermined_language_warning")}
|
||||
</div>
|
||||
{this.props.multiple && (
|
||||
<div className="alert alert-warning" role="alert">
|
||||
{i18n.t("undetermined_language_warning")}
|
||||
</div>
|
||||
)}
|
||||
<div className="form-group row">
|
||||
<label
|
||||
className={classNames("col-form-label", {
|
||||
|
|
Loading…
Reference in a new issue