fix: fix model reference in menu handler
This commit is contained in:
parent
25e62fe6ef
commit
5e1c0a5187
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue