fix: fix bug when making "integration" menus

per recent refactor
This commit is contained in:
Lance Edgar 2024-07-14 11:47:15 -05:00
parent d70bac74f0
commit 25e62fe6ef

View file

@ -281,8 +281,9 @@ class TailboneMenuHandler(WuttaMenuHandler):
"""
Make a set of menus for all registered system integrations.
"""
tb = self.app.get_tailbone_handler()
menus = []
for provider in self.tb.iter_providers():
for provider in tb.iter_providers():
menu = provider.make_integration_menu(request)
if menu:
menus.append(menu)