mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
Adding a warning for deselecting the undetermined language. (#945)
- Fixes #930
This commit is contained in:
parent
d52c5491dc
commit
c2325ba743
1 changed files with 3 additions and 5 deletions
|
@ -48,11 +48,9 @@ export class LanguageSelect extends Component<LanguageSelectProps, any> {
|
|||
this.selectBtn
|
||||
) : (
|
||||
<div>
|
||||
{this.props.multiple && (
|
||||
<div className="alert alert-warning" role="alert">
|
||||
{i18n.t("undetermined_language_warning")}
|
||||
</div>
|
||||
)}
|
||||
<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