You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are scenarios where some flask extension might want to provide Flask-Menu capabilities for its blueprints, but the user of the extension is not interested in this (e.g. if the application doesn't have any UI views, but only provides a REST API).
It should be possible to conditionally register the menu item, by checking if current_menu exists before performing the registration:
There are scenarios where some flask extension might want to provide
Flask-Menu
capabilities for its blueprints, but the user of the extension is not interested in this (e.g. if the application doesn't have any UI views, but only provides a REST API).It should be possible to conditionally register the menu item, by checking if
current_menu
exists before performing the registration:The text was updated successfully, but these errors were encountered: