fix missing method

This commit is contained in:
Ali Gator 2022-12-15 12:21:33 +01:00
parent 3b566ff6e7
commit a12b75287e
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@
window.removeEventListener("click", this.onWindowClick);
},
methods: {
...mapActions(globalStore, ["setActiveSubMenu", "toggleMainMenu"]),
...mapActions(globalStore, [
"setActiveSubMenu",
"toggleMainMenu",
"setMainMenu",
]),
onKeyDown: function (event) {
// escape
if (event.keyCode == 27) {