Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(settings) fix not storing maxStageParticipants

Saúl Ibarra Corretgéd9bbf35466ce
diff --git a/react/features/settings/components/web/MoreTab.tsx b/react/features/settings/components/web/MoreTab.tsx
index 961a0df22d..dd96869683 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<Props, {}> {
* @returns {void}
*/
_onMaxStageParticipantsSelect(e: React.ChangeEvent<HTMLSelectElement>) {
- const maxParticipants = e.currentTarget.getAttribute('data-maxparticipants');
+ const maxParticipants = Number(e.target.value);
super._onChange({ maxStageParticipants: maxParticipants });
}