Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video-provider: make video-list-item actions dropdown keys unique #11228

Merged

Conversation

prlanzarin
Copy link
Member

What does this PR do?

When multiple actions were bolted in the dropdown (mirror, focus), the video-list-item actions dropdown entry keys were getting duplicated as $cameraId.

This is a regression from #10925. I'm not sure why React isn't churning out warnings in the console, but nonetheless the keys should be revised.

So:

  • Add a new entry to video-list's actions called actionName, which is the hardcoded action name (constants)
  • Use the actionName to create a unique ID concatenated with the cameraId ${cameraId}-${action.actionName}

Closes Issue(s)

None

More

#10925

When multiple actions were bolted in the dropdown (mirror, focus), keys were getting duplicated with cameraId. Make them unique based on the action`s name
@antobinary antobinary added this to the Release 2.2 milestone Jan 26, 2021
@antobinary antobinary merged commit 28fc334 into bigbluebutton:v2.2.x-release Jan 26, 2021
@prlanzarin prlanzarin deleted the u22-frameshift26012021 branch January 27, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants