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 an exception if table source data is immutable type #1082

Merged
merged 2 commits into from
Mar 10, 2017

Conversation

dp-huang
Copy link
Contributor

If table source data is built by immutable object list, e.g. by seamless-immutable or immutable-js library, the table will be broken if list is empty, which is caused by a push action to the list.

issue

@AllenFang
Copy link
Owner

is that cause by the immutable.js can't call the map method on any array?

@dp-huang
Copy link
Contributor Author

Immutable list can call map method, but can't call push method on the list. Above PR avoids such case.

@AllenFang
Copy link
Owner

ok, thanks, I'll merge after my travel.

@AllenFang AllenFang merged commit 70de237 into AllenFang:master Mar 10, 2017
AllenFang added a commit that referenced this pull request Mar 10, 2017
@AllenFang
Copy link
Owner

Released on v3.1.1, thanks your contributions

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

Successfully merging this pull request may close these issues.

2 participants