weitere raterunde!
This commit is contained in:
parent
d977b58143
commit
12178f5a80
|
|
@ -50,11 +50,11 @@ class TeamsSettingsBlock extends Component {
|
|||
return (
|
||||
<Switch
|
||||
state={!!prefs[key]}
|
||||
onchange={(value) =>
|
||||
onchange={(value) => {
|
||||
user.savePreferences({
|
||||
[key]: value,
|
||||
})
|
||||
}
|
||||
});
|
||||
}}
|
||||
>
|
||||
{label}
|
||||
</Switch>
|
||||
|
|
@ -66,4 +66,4 @@ export default function addTeamsSettings() {
|
|||
extend(SettingsPage.prototype, 'content', function (vnode) {
|
||||
vnode.children.push(<TeamsSettingsBlock />);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue