fix missing method

This commit is contained in:
Ali Gator 2022-12-15 12:21:33 +01:00
parent 3b566ff6e7
commit a12b75287e

View File

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