fix(settings) fix not storing maxStageParticipants

This commit is contained in:
Saúl Ibarra Corretgé 2022-09-15 19:58:23 +02:00 committed by Saúl Ibarra Corretgé
parent 1cd80a33c6
commit d9bbf35466
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}