This commit is contained in:
2018-11-08 21:32:31 +00:00
parent 25a618e73c
commit e694ed8be8
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<template>
<v-app id="inspire">
<v-navigation-drawer fixed v-model="drawer" app>
<v-navigation-drawer v-if="showMenu" fixed v-model="drawer" app>
<v-list dense>
<v-list-tile to="/">
<v-list-tile-action>
@@ -78,8 +78,6 @@
<v-list-tile-title>Log off</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
<!-- <router-link v-if="authenticated" to="/login" v-on:click.native="logout()" replace>Logout</router-link> -->
<!--Nav menu links END-->
</v-list>
</v-navigation-drawer>
@@ -140,6 +138,11 @@ export default {
this.$store.state.authenticated = false;
}
},
computed: {
showMenu() {
return this.$route.name !== "login";
}
},
props: {
source: String
}