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(ui5-table): check for undefined in table type guard #10343

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

DonkeyCo
Copy link
Member

@DonkeyCo DonkeyCo commented Dec 9, 2024

There are certain scenarios, where the row does not have the table as its parent (removed from the table). In these cases the type guard fails as key in object calls do not work with undefined values.
Therefore, introducing an additional check to avoid this issue.

Fixes #10340

@DonkeyCo DonkeyCo merged commit e41370f into main Dec 11, 2024
10 checks passed
@DonkeyCo DonkeyCo deleted the fix-tu-instance branch December 11, 2024 15:31
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.6.0-rc.0 🎉

The release is available on v2.6.0-rc.0

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui5-table]: missing assertion for parent-less TableRows
4 participants