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, 5 insertions, 3 deletions
diff --git a/src/App.js b/src/App.js
index c3e5164a..93f8f361 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,14 +1,16 @@
import UserPanel from './components/user_panel/user_panel.vue'
import NavPanel from './components/nav_panel/nav_panel.vue'
+import Notifications from './components/notifications/notifications.vue'
export default {
name: 'app',
components: {
UserPanel,
- NavPanel
+ NavPanel,
+ Notifications
},
computed: {
- user () { return this.$store.state.users.currentUser || {} },
- style () { return { 'background-image': `url(${this.user.background_image})` } }
+ currentUser () { return this.$store.state.users.currentUser },
+ style () { return { 'background-image': `url(${this.currentUser.background_image})` } }
}
}