Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue Thu Nov 29 16:17:54 2018 +0100 +++ b/client/src/components/Sidebar.vue Thu Nov 29 16:41:49 2018 +0100 @@ -58,6 +58,10 @@ <font-awesome-icon icon="tasks" fixed-width></font-awesome-icon> <span v-translate class="fix-trans-space">Importqueue</span> </router-link> + <router-link v-if="this.$options.IMPORTSCHEDULE" to="importschedule"> + <font-awesome-icon icon="clock" fixed-width></font-awesome-icon> + <translate>Importschedule</translate> + </router-link> </div> <hr class="m-0"> <a href="#" @click="logoff"> @@ -108,6 +112,7 @@ ]; } }, + IMPORTSCHEDULE: process.env.VUE_APP_FEATURE_IMPORTSCHEDULE, methods: { logoff() { this.$store.commit("reset");