comparison client/src/components/Sidebar.vue @ 1429:f4b3fb43b311

automatic imports WIP added
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 29 Nov 2018 16:41:49 +0100
parents 350e9a168bc8
children bb47531bdd22
comparison
equal deleted inserted replaced
1428:ec0a0542c221 1429:f4b3fb43b311
56 </router-link> 56 </router-link>
57 <router-link to="importqueue"> 57 <router-link to="importqueue">
58 <font-awesome-icon icon="tasks" fixed-width></font-awesome-icon> 58 <font-awesome-icon icon="tasks" fixed-width></font-awesome-icon>
59 <span v-translate class="fix-trans-space">Importqueue</span> 59 <span v-translate class="fix-trans-space">Importqueue</span>
60 </router-link> 60 </router-link>
61 <router-link v-if="this.$options.IMPORTSCHEDULE" to="importschedule">
62 <font-awesome-icon icon="clock" fixed-width></font-awesome-icon>
63 <translate>Importschedule</translate>
64 </router-link>
61 </div> 65 </div>
62 <hr class="m-0"> 66 <hr class="m-0">
63 <a href="#" @click="logoff"> 67 <a href="#" @click="logoff">
64 <font-awesome-icon icon="power-off" fixed-width></font-awesome-icon> 68 <font-awesome-icon icon="power-off" fixed-width></font-awesome-icon>
65 <span v-translate class="fix-trans-space">Logout</span> 69 <span v-translate class="fix-trans-space">Logout</span>
106 sidebarextended: this.showSidebar 110 sidebarextended: this.showSidebar
107 } 111 }
108 ]; 112 ];
109 } 113 }
110 }, 114 },
115 IMPORTSCHEDULE: process.env.VUE_APP_FEATURE_IMPORTSCHEDULE,
111 methods: { 116 methods: {
112 logoff() { 117 logoff() {
113 this.$store.commit("reset"); 118 this.$store.commit("reset");
114 this.$store.commit("user/clearAuth"); 119 this.$store.commit("user/clearAuth");
115 this.$router.push("/login"); 120 this.$router.push("/login");