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

Delete MenuEntry #56

Open
Henni opened this issue Nov 21, 2016 · 2 comments
Open

Delete MenuEntry #56

Henni opened this issue Nov 21, 2016 · 2 comments

Comments

@Henni
Copy link

Henni commented Nov 21, 2016

I'm trying to use flask-menu to build a menu which contains a dynamic submenu. Therefore I'm registering menu entries with MenuEntryMixin.register().
What I'm missing is a way to 'unregister' a given MenuEntryMixin, which removes the entry from the menu.

@jirikuncar jirikuncar added this to the v0.6.0 milestone Nov 21, 2016
@jirikuncar
Copy link
Member

@Henni you are right. Do you have any proposal for an API?

@datashaman
Copy link
Contributor

A bit late to the party, but it seems easier to omit rendering the specific menu item in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants