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:
|
if not main_keys:
|
||||||
return
|
return
|
||||||
|
|
||||||
model = self.model
|
model = self.app.model
|
||||||
menus = []
|
menus = []
|
||||||
|
|
||||||
# menu definition can come either from config file or db
|
# menu definition can come either from config file or db
|
||||||
|
|
Loading…
Reference in a new issue