This commit is contained in:
2018-11-15 00:52:43 +00:00
parent 84e776f66e
commit 5b680221a7
5 changed files with 14 additions and 21 deletions

View File

@@ -43,10 +43,6 @@
</v-flex>
</v-layout>
</v-footer>
<!-- <v-footer color="indigo" app height="auto">
<span class="white--text">{{ version }}</span>
<span class="white--text">{{ copyright }}</span>
</v-footer>-->
</v-app>
</template>
@@ -61,8 +57,6 @@ export default {
},
mounted() {
if (!this.$store.state.authenticated) {
// eslint-disable-next-line
console.log("App.vue::page url is:" + this.$route.query.page);
this.$router.replace({ name: "login" });
}
},
@@ -76,10 +70,7 @@ export default {
},
computed: {
isAuthenticated() {
return (
this.$store.state.authenticated === true
//this.$route.name !== "login" &&
);
return this.$store.state.authenticated === true;
},
navItems() {
return this.$store.state.navItems;