diff options
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 + } } } |
