Browse Source

Fix default menu items

Denis K 8 years ago
parent
commit
a80412131d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      jet/utils.py

+ 4 - 1
jet/utils.py

@@ -414,7 +414,10 @@ def get_menu_items(context):
 
                 app_list.append(app)
     else:
-        app_list = original_app_list.values()
+        def map_item(item):
+            item['items'] = item['models']
+            return item
+        app_list = map(map_item, original_app_list.values())
 
     current_found = False