Freedom9339 commented on PR #10816:
URL: https://github.com/apache/nifi/pull/10816#issuecomment-4054970418

   Thank you for reviewing @mcgilman. I did try the method you mentioned, but 
it didn't work, the subscribe was still being fired twice. However, I was able 
to prevent the stale firing by wrapping the route filter inside a switchmap. I 
removed leavingProcessGroupId from the state and instead did what you suggested 
and handled everything from the leaveProcessGroup$ effect.
   
   I know you mentioned doing the same thing for single-component selection and 
bulk selection, but I wasn't able to recreate the double firing like how the 
viewport restore was. Is there a specific scenario where that is happening?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to