showSite?: boolean;
iconVersion?: boolean;
disabled?: boolean;
+ showLanguageWarning?: boolean;
}
export class LanguageSelect extends Component<LanguageSelectProps, any> {
this.selectBtn
) : (
<div>
- {this.props.multiple && (
+ {this.props.multiple && this.props.showLanguageWarning && (
<div className="alert alert-warning" role="alert">
{i18n.t("undetermined_language_warning")}
</div>
siteLanguages={this.state.siteRes.discussion_languages}
selectedLanguageIds={selectedLangs}
multiple={true}
+ showLanguageWarning={true}
showSite
onChange={this.handleDiscussionLanguageChange}
/>