Hide menu on item click

pull/345/head
cagataycivici 2020-05-09 22:23:23 +03:00
parent e49f9f1026
commit 17a265e63f
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ export default {
},
methods: {
changeTheme(event, theme, dark) {
this.$emit('change-theme', {theme: theme, dark: dark});
this.$emit('change-theme', {theme: theme, dark: dark});
this.activeMenuIndex = null;
event.preventDefault();
},
toggleMenu(event, index) {