work on navbar

This commit is contained in:
Géry Debongnie
2019-02-05 08:56:33 +01:00
parent 05e9797f7a
commit 52d855241d
14 changed files with 138 additions and 59 deletions
+3 -2
View File
@@ -89,7 +89,8 @@ export class Root extends Widget<Props, State> {
this.updateState({ inHome: !this.state.inHome });
}
openApp(app: MenuItem) {
this.updateAppState(app, app.actionId);
openMenu(menu: MenuItem) {
const app = this.props.menuInfo.menuMap[menu.menuId]!;
this.updateAppState(app, menu.actionId);
}
}