You need to sign in to do that
Don't have an account?
KevanM
Lightning component in Lightning service console being refreshed when changing primary tab
If you have a lightning component on a layout of a subtab in Lightning service console and you change from one primary tab and came back to the previous one, the Lightning component on the layout refreshes by itself. Can we prevent this behaviour?
I think you can do it with the compoment life cycle. But honestly, i haven't tried it completed. Please refer the below code and let me know will this helps you or not.
The above code is not working since we don't have the id of the main component.