forked from mirrors/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 {
|
} else {
|
||||||
return this.statusoid
|
return this.statusoid
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
loggedIn () {
|
||||||
|
return !!this.$store.state.users.currentUser
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</attachment>
|
</attachment>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div v-if="loggedIn">
|
||||||
<div class='status-actions'>
|
<div class='status-actions'>
|
||||||
<div>
|
<div>
|
||||||
<a href="#" v-on:click.prevent="toggleReplying">
|
<a href="#" v-on:click.prevent="toggleReplying">
|
||||||
|
|
Loading…
Reference in a new issue