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 text columns undefined index #3714

Merged
merged 1 commit into from Nov 29, 2017

Conversation

vladanost
Copy link
Contributor

Description

Fixes #3710

When adding new columns new index does not exist in the content array.

How Has This Been Tested?

npm run test-unit
Manually tested in the browser

Types of changes

Checking for the index before use. That seemed like an easiest fix. I could maybe try to push empty array to content on RangeControl change?

@mtias
Copy link
Member

mtias commented Nov 29, 2017

Oh, thanks, I missed this when opening #3715.

@vladanost
Copy link
Contributor Author

@mtias It's OK, should I close this one?

Copy link
Contributor

@mcsf mcsf left a comment

Choose a reason for hiding this comment

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

Thanks for the fix, @vladanost!

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.

Unhandled error when adding or removing columns in Text Columns
3 participants