Skip to content

Commit

Permalink
Merge pull request #219 from bitfocus/update/group-select-count
Browse files Browse the repository at this point in the history
update: Group Participant select dropdown to allow 1000 people
  • Loading branch information
digitaldrummerj authored Jan 17, 2025
2 parents d97cae3 + 2f994be commit bc2f2ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/actions/action-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const getChoicePositions = (): {
label: string
}[] => {
const result = []
for (let index = 1; index < 50; index++) {
for (let index = 1; index < 1000; index++) {
result.push({ id: index.toString(), label: `Position ${index}` })
}

Expand Down Expand Up @@ -79,7 +79,7 @@ export const selectUser = (instance: InstanceBaseExt<ZoomConfig>, zoomId: number
export const createCommand = (
instance: InstanceBaseExt<ZoomConfig>,
OSCAction: string,
name?: InputValue | string | undefined,
name?: InputValue | string,
singleUser?: boolean | null,
allExcept?: boolean | null,
shouldSavePreviousSelectedCallers = true,
Expand Down
2 changes: 1 addition & 1 deletion src/presets/preset-groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export function GetPresetsGroups(instance: InstanceBaseExt<ZoomConfig>): Compani
feedbacks: [],
}

for (let position = 1; position < 50; position++) {
for (let position = 1; position < 1000; position++) {
if (index == 1 && position > 9) {
break
}
Expand Down
2 changes: 1 addition & 1 deletion src/variables/variable-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export function updateGroupVariables(
: ''
}

for (let position = 1; position < 50; position++) {
for (let position = 1; position < 1000; position++) {
variables[`Group${index}Position${position}`] =
group.users && group.users[position - 1] ? group.users[position - 1].userName : '-'
}
Expand Down

0 comments on commit bc2f2ea

Please sign in to comment.