Skip to content

fix(cdk/table): error if data is accessed too early #30817

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

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 7, 2025

Fixes that the table was throwing an error if renderRows is called before the data has been loaded for the first time.

Fixes #30795.

Fixes that the table was throwing an error if `renderRows` is called before the data has been loaded for the first time.

Fixes angular#30795.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Apr 7, 2025
@crisbeto crisbeto requested a review from a team as a code owner April 7, 2025 07:03
@crisbeto crisbeto requested review from mmalerba and andrewseguin and removed request for a team April 7, 2025 07:03
@crisbeto crisbeto removed the request for review from mmalerba April 7, 2025 15:42
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 7, 2025
@crisbeto crisbeto merged commit b1cc050 into angular:main Apr 7, 2025
22 of 25 checks passed
@crisbeto
Copy link
Member Author

crisbeto commented Apr 7, 2025

The changes were merged into the following branches: main, 19.2.x

crisbeto added a commit that referenced this pull request Apr 7, 2025
Fixes that the table was throwing an error if `renderRows` is called before the data has been loaded for the first time.

Fixes #30795.

(cherry picked from commit b1cc050)
mistrykaran91 pushed a commit to mistrykaran91/components that referenced this pull request Apr 8, 2025
Fixes that the table was throwing an error if `renderRows` is called before the data has been loaded for the first time.

Fixes angular#30795.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: cdk/table target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(mat-table): Material Table tries to render rows on reorder when rows are not exists
2 participants