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: table selection with empty children error #21528

Merged
merged 1 commit into from Feb 22, 2020
Merged

fix: table selection with empty children error #21528

merged 1 commit into from Feb 22, 2020

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Feb 22, 2020

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fix https://github.com/ant-design/ant-design-pro/issues/5996

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Table selection crash when record children is null.
🇨🇳 Chinese 修复 Table 选择在树形结构子节点为 null 会崩溃的问题。

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

@tests-checker tests-checker bot left a comment

Could you please add tests to make sure this change works as expected?

@ant-design-bot
Copy link
Contributor

@ant-design-bot ant-design-bot commented Feb 22, 2020

@codesandbox-ci
Copy link

@codesandbox-ci codesandbox-ci bot commented Feb 22, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@codecov
Copy link

@codecov codecov bot commented Feb 22, 2020

Codecov Report

Merging #21528 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #21528   +/-   ##
=======================================
  Coverage   97.83%   97.83%           
=======================================
  Files         302      302           
  Lines        7024     7024           
  Branches     1894     1895    +1     
=======================================
  Hits         6872     6872           
  Misses        152      152
Impacted Files Coverage Δ
components/table/hooks/useLazyKVMap.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e41e4cc...8e188b1. Read the comment docs.

@zombieJ zombieJ merged commit 4358f48 into master Feb 22, 2020
28 checks passed
@zombieJ zombieJ deleted the fix-table branch Feb 22, 2020
@pr-triage pr-triage bot added the PR: merged label Feb 22, 2020
@afc163
Copy link
Member

@afc163 afc163 commented Feb 23, 2020

close #21526

close ant-design/pro-table#157

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