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

ensure config is ready before loading menu #788

Conversation

blueo
Copy link

@blueo blueo commented Mar 22, 2023

This is a small change to allow wait for the CMS config to be loaded before running the onmatch to add the local menu to the side bar.

We found that the fluent JS was sometimes added before the CMS config script and in some cases this would mean it ran too early and would never add the Menu.

@blueo
Copy link
Author

blueo commented Mar 22, 2023

Turns out there is a better fix in #780 for silverstripe admin so closing this one :)

@blueo blueo closed this Mar 22, 2023
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.

1 participant