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

Menu doesn't clear between different freestyle-guides #192

Open
drouhard opened this issue Feb 5, 2019 · 0 comments
Open

Menu doesn't clear between different freestyle-guides #192

drouhard opened this issue Feb 5, 2019 · 0 comments

Comments

@drouhard
Copy link

drouhard commented Feb 5, 2019

Each freestyle-section (and subsection) calls registerSection, adding it to the service's list of menu items. But if you have multiple freestyle guides, the menu items persist between guides.

I'm not sure what the right solution is, but one way to fix this is to reset the service's menu property in the freestyle-guide's willDestroyElement hook.

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