Skip to content
Snippets Groups Projects
Commit 8cd1c690 authored by lain's avatar lain
Browse files

Hide timeline if user isn't logged in.

parent a994e794
No related branches found
No related tags found
No related merge requests found
const NavPanel = {
computed: {
loggedIn () {
return this.$store.state.users.currentUser
}
}
}
export default NavPanel
......@@ -2,7 +2,7 @@
<div class="nav-panel">
<div class="panel panel-default">
<ul>
<li ng-if='currentUser'>
<li v-if='loggedIn'>
<router-link to='/main/friends'>
Timeline
</router-link>
......
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