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

Fixed bug which caused computed-columns creation to break updates in … #259

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

texodus
Copy link
Member

@texodus texodus commented Oct 4, 2018

…perspective-viewer.

@texodus texodus merged commit 2e7c903 into master Oct 4, 2018
@texodus texodus deleted the computed-update-fix branch October 4, 2018 08:15
if (cols.indexOf(names.get(i)) === -1) {
pdata.types.splice(i, 1);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this works the way you intend. As you splice values from the types array, the index value derived from the name array will no longer be valid.

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.

2 participants