This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user