menu-api #22

Merged
v4l3n71n merged 35 commits from menu-api into master 2023-08-04 21:22:39 +00:00
Showing only changes of commit b7493206a2 - Show all commits

View File

@ -366,4 +366,8 @@ class WPMenu:
def addItemMenu(self, menu, idMenu):
self._logger.info("{0} : add item to menu : {1}".format(self._name, idMenu))
for i in menu:
parent = self._createItemMenu(idMenu, i, parent)
for j in menu["children"]:
self._createItemMenu(idMenu, i, parent)