Don't show actions when not logged in.

This commit is contained in:
Roger Braun 2016-11-06 20:45:26 +01:00
parent b6ac99fdf0
commit 7fcd36e2c1
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,9 @@ const Status = {
} else {
return this.statusoid
}
},
loggedIn () {
return !!this.$store.state.users.currentUser
}
},
components: {

View File

@ -32,7 +32,7 @@
</attachment>
</div>
<div>
<div v-if="loggedIn">
<div class='status-actions'>
<div>
<a href="#" v-on:click.prevent="toggleReplying">