aboutsummaryrefslogtreecommitdiffhomepage
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app.js b/app.js
index c35e4c7..a296069 100644
--- a/app.js
+++ b/app.js
@@ -5,7 +5,8 @@ const app = new Vue({
5 offline: false, 5 offline: false,
6 filter: '', 6 filter: '',
7 vlayout: true, 7 vlayout: true,
8 isDark: null 8 isDark: null,
9 showMenu: false
9 }, 10 },
10 created: async function () { 11 created: async function () {
11 let that = this; 12 let that = this;
@@ -80,6 +81,9 @@ const app = new Vue({
80 this.vlayout = !this.vlayout; 81 this.vlayout = !this.vlayout;
81 localStorage.vlayout = this.vlayout; 82 localStorage.vlayout = this.vlayout;
82 }, 83 },
84 toggleMenu: function() {
85 this.showMenu = !this.showMenu;
86 }
83 } 87 }
84}); 88});
85 89