fix: fix model reference in menu handler

This commit is contained in:
Lance Edgar 2024-07-14 12:41:08 -05:00
parent 25e62fe6ef
commit 5e1c0a5187

View file

@ -96,7 +96,7 @@ class TailboneMenuHandler(WuttaMenuHandler):
if not main_keys:
return
model = self.model
model = self.app.model
menus = []
# menu definition can come either from config file or db