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

fix: Add optional chaining for getSelectedRows in TableComponent #5805

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

Cristhianzl
Copy link
Member

This pull request includes a small change to the TableComponent in the src/frontend/src/components/core/parameterRenderComponent/components/tableComponent/index.tsx file. The change ensures that the getSelectedRows method is safely accessed using optional chaining.

#5447

@Cristhianzl Cristhianzl self-assigned this Jan 20, 2025
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 20, 2025
@Cristhianzl Cristhianzl mentioned this pull request Jan 20, 2025
@github-actions github-actions bot added the bug Something isn't working label Jan 20, 2025
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 20, 2025
@anovazzi1 anovazzi1 added this pull request to the merge queue Jan 20, 2025
Merged via the queue into main with commit 00deb49 Jan 20, 2025
30 of 31 checks passed
@anovazzi1 anovazzi1 deleted the cz/fix-undefined-table-option branch January 20, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants