aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 8f90e6be..14a41af0 100644
--- a/src/App.js
+++ b/src/App.js
@@ -11,8 +11,16 @@ export default {
Notifications,
StyleSwitcher
},
+ data: () => ({
+ mobileActivePanel: 'timeline'
+ }),
computed: {
currentUser () { return this.$store.state.users.currentUser },
style () { return { 'background-image': `url(${this.currentUser.background_image})` } }
+ },
+ methods: {
+ activatePanel (panelName) {
+ this.mobileActivePanel = panelName
+ }
}
}