added condition to check for logined user
This commit is contained in:
parent
ad56c8e5bd
commit
e2f825266a
3 changed files with 6 additions and 2 deletions
|
@ -14,6 +14,9 @@ const UserCard = {
|
|||
components: {
|
||||
UserCardContent
|
||||
},
|
||||
computed: {
|
||||
currentUser () { return this.$store.state.users.currentUser }
|
||||
},
|
||||
methods: {
|
||||
toggleUserExpanded () {
|
||||
this.userExpanded = !this.userExpanded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue