Merge pull request #713 from astr0n8t/master

Fixed menu reloading bug
This commit is contained in:
Chad Scharf 2021-02-08 10:04:53 -05:00 committed by GitHub
commit ab9b87acf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ export class MenuMain extends BaseMenu {
}
});
if (this.menu != null) {
Menu.setApplicationMenu(this.menu);
}
if (this.logOut != null) {
this.logOut.enabled = isAuthenticated;
}