Skip to content
Snippets Groups Projects
Commit 7fcd36e2 authored by lain's avatar lain
Browse files

Don't show actions when not logged in.

parent b6ac99fd
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment