Skip to content

Commit

Permalink
Make build_menu_structure interceptable (#6332)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtran99 committed May 8, 2024
1 parent 61aacd1 commit edcdaf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indico/web/menu.py
Expand Up @@ -9,7 +9,7 @@
from markupsafe import Markup

from indico.core import signals
from indico.util.signals import named_objects_from_signal
from indico.util.signals import make_interceptable, named_objects_from_signal
from indico.util.string import format_repr


Expand Down Expand Up @@ -126,6 +126,7 @@ def __repr__(self):
return format_repr(self, 'name', 'title', 'url')


@make_interceptable
def build_menu_structure(menu_id, active_item=None, **kwargs):
"""Build a menu (list of entries) with sections/items.
Expand Down

0 comments on commit edcdaf8

Please sign in to comment.