changeset 1564:d8b12138a214

Backed out changeset a0833dc8b1c1
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 12 Dec 2018 12:01:42 +0100
parents a0833dc8b1c1
children faa045ebdf0c
files client/src/components/Sidebar.vue
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Wed Dec 12 11:59:18 2018 +0100
+++ b/client/src/components/Sidebar.vue	Wed Dec 12 12:01:42 2018 +0100
@@ -92,7 +92,7 @@
           ></font-awesome-icon>
           <span class="fix-trans-space" v-translate>Importqueue</span>
         </router-link>
-        <router-link to="importschedule">
+        <router-link to="importschedule" v-if="this.$options.IMPORTSCHEDULE">
           <font-awesome-icon
             class="fa-fw mr-2"
             fixed-width
@@ -154,6 +154,7 @@
       ];
     }
   },
+  IMPORTSCHEDULE: process.env.VUE_APP_FEATURE_IMPORTSCHEDULE,
   methods: {
     logoff() {
       app.$snotify.clear();