Don't show actions when not logged in.
This commit is contained in:
parent
b6ac99fdf0
commit
7fcd36e2c1
|
@ -16,6 +16,9 @@ const Status = {
|
|||
} else {
|
||||
return this.statusoid
|
||||
}
|
||||
},
|
||||
loggedIn () {
|
||||
return !!this.$store.state.users.currentUser
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</attachment>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div v-if="loggedIn">
|
||||
<div class='status-actions'>
|
||||
<div>
|
||||
<a href="#" v-on:click.prevent="toggleReplying">
|
||||
|
|
Loading…
Reference in New Issue