From d9bbf35466cef6178e42c7ee100c95fc385a88b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 15 Sep 2022 19:58:23 +0200 Subject: [PATCH] fix(settings) fix not storing maxStageParticipants --- react/features/settings/components/web/MoreTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/settings/components/web/MoreTab.tsx b/react/features/settings/components/web/MoreTab.tsx index 961a0df22..dd9686968 100644 --- a/react/features/settings/components/web/MoreTab.tsx +++ b/react/features/settings/components/web/MoreTab.tsx @@ -235,7 +235,7 @@ class MoreTab extends AbstractDialogTab { * @returns {void} */ _onMaxStageParticipantsSelect(e: React.ChangeEvent) { - const maxParticipants = e.currentTarget.getAttribute('data-maxparticipants'); + const maxParticipants = Number(e.target.value); super._onChange({ maxStageParticipants: maxParticipants }); }