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

nodeCreated event is emmiting twice #338

Open
snandkule opened this issue Sep 3, 2019 · 0 comments
Open

nodeCreated event is emmiting twice #338

snandkule opened this issue Sep 3, 2019 · 0 comments

Comments

@snandkule
Copy link

snandkule commented Sep 3, 2019

After creating a node using the addChild method of node controller, nodeCreated event is not emitting. I want to update the database using new node data and backend API. but as the event is getting emitted twice, I need to skip 1 event to get final data of the newly added node.
Current behavior:
a nice value edit box is shown and after filling value on pressing enter, node get saved but nodeCreated event is emitting twice

Expected behavior:
nodeCreated event should be emitted only once with the node object.

@snandkule snandkule changed the title nodeCreated event is not emmiting nodeCreated event is emmiting twice Sep 3, 2019
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

No branches or pull requests

1 participant