resolver error in reloading menus. fixes #51
This commit is contained in:
parent
b9790b1619
commit
cd4c08739b
1 changed files with 1 additions and 3 deletions
|
|
@ -46,7 +46,6 @@ export class mzta_Menus {
|
|||
this.allPrompts.forEach((prompt) => {
|
||||
this.addAction(prompt)
|
||||
});
|
||||
//await this.addMenu(this.rootMenu);
|
||||
}
|
||||
|
||||
async reload(){
|
||||
|
|
@ -55,8 +54,7 @@ export class mzta_Menus {
|
|||
});
|
||||
this.allPrompts = [];
|
||||
this.rootMenu = [];
|
||||
await this.initialize();
|
||||
this.loadMenus(); //why is giving errors saying it's adding an id that is already there?
|
||||
this.loadMenus();
|
||||
}
|
||||
|
||||
addAction = (curr_prompt) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue