From 069cd3b3add9a79274b8d2f86a7804be4bdee53a Mon Sep 17 00:00:00 2001 From: JM Date: Wed, 6 May 2026 11:47:38 +0200 Subject: [PATCH] fsd --- js/src/forum/addTeamsSettings.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/js/src/forum/addTeamsSettings.js b/js/src/forum/addTeamsSettings.js index db794ef..ab71ea0 100644 --- a/js/src/forum/addTeamsSettings.js +++ b/js/src/forum/addTeamsSettings.js @@ -50,11 +50,11 @@ class TeamsSettingsBlock extends Component { return ( { + onchange={(value) => user.savePreferences({ [key]: value, - }); - }} + }) + } > {label} @@ -64,7 +64,6 @@ class TeamsSettingsBlock extends Component { export default function addTeamsSettings() { extend(SettingsPage.prototype, 'content', function (vnode) { - // content ist in Flarum 1.x ein VNode mit children[] vnode.children.push(); }); -} \ No newline at end of file +}