mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 00:01:15 +00:00
Only show the determined warning for multiple. (#952)
This commit is contained in:
parent
a119ba5cf4
commit
abb6d80328
1 changed files with 5 additions and 3 deletions
|
@ -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", {
|
||||||
|
|
Loading…
Reference in a new issue