From: Dessalines Date: Wed, 22 Feb 2023 13:03:04 +0000 (-0500) Subject: Only show the determined warning for multiple. (#952) X-Git-Url: http://these/git/%7B%60https:/readmes/static/%22%7Burl%7D/%7BcommunityRss%7D?a=commitdiff_plain;h=578709b986d2fbfcf45b6415ba91080f3cb428f3;p=lemmy-ui.git Only show the determined warning for multiple. (#952) --- diff --git a/src/shared/components/common/language-select.tsx b/src/shared/components/common/language-select.tsx index d98be2e..64cbac4 100644 --- a/src/shared/components/common/language-select.tsx +++ b/src/shared/components/common/language-select.tsx @@ -48,9 +48,11 @@ export class LanguageSelect extends Component { this.selectBtn ) : (
-
- {i18n.t("undetermined_language_warning")} -
+ {this.props.multiple && ( +
+ {i18n.t("undetermined_language_warning")} +
+ )}