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-tree): noDataText is now properly rendered #11095

Merged
merged 8 commits into from
Mar 20, 2025

Conversation

plamenivanov91
Copy link
Contributor

@plamenivanov91 plamenivanov91 commented Mar 13, 2025

There was a problem where noDataText wasn't rendered even if there are no tree items in the tree. This is because there was a an internal element counted as a child of the tree in its tsx template.

With this fix, the noDataText is now properly rendered when there are no tree items in the tree.

Fixes: #11073

There was a problem where noDataText wasn't rendered even if there are
no tree items in the tree. This is because there was a redundant element
as a child of the tree in its tsx template.

With this fix, the noDataText is now properly rendered when there are no
tree items in the tree.

Fixes: SAP#11073
@kgogov kgogov self-requested a review March 20, 2025 11:49
@plamenivanov91 plamenivanov91 merged commit e1c152c into SAP:main Mar 20, 2025
12 checks passed
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.9.0-rc.2 🎉

The release is available on v2.9.0-rc.2

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.

[Tree | ui5-webcomponents-react | 2.8.0 | typescript]: noDataText is not shown when there's no data
4 participants