mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
Merge pull request #3332 from matrix-org/travis/fix-i18n
Don't double translate labs settings
This commit is contained in:
@@ -32,7 +32,7 @@ export class LabsSettingToggle extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
const label = _t(SettingsStore.getDisplayName(this.props.featureId));
|
||||
const label = SettingsStore.getDisplayName(this.props.featureId);
|
||||
const value = SettingsStore.isFeatureEnabled(this.props.featureId);
|
||||
return <LabelledToggleSwitch value={value} label={label} onChange={this._onChange} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user