Add basic notification support.
This commit is contained in:
parent
e1c5030311
commit
e8c85434b7
5 changed files with 85 additions and 3 deletions
src
|
@ -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})` } }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue