forked from AkkomaGang/akkoma-fe
Don't show actions when not logged in.
This commit is contained in:
parent
b6ac99fdf0
commit
7fcd36e2c1
2 changed files with 4 additions and 1 deletions
|
@ -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 a new issue