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

Use regular lodash forOwn to trigger re-render of diagram #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomaskelder
Copy link

When changing any pathway entity in the entityMap, and passing the change on to the Kaavio component after the initial render of the component, the diagram is not updated. The cause seems to be in the forOwn function from lodash-fp, where the "key" argument was always undefined, so the state of Diagram wasn't updated for any changed property. Fixed it for now by switching to the regular lodash forOwn function.

@ariutta
Copy link
Member

ariutta commented Feb 13, 2018

Hi @thomaskelder, thanks for making the pull request! It's been a little while, so I wanted to let you know I am looking into this.

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

2 participants