changeset 1745:6eb099690279

importschedule: play button active
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 10 Jan 2019 11:09:08 +0100
parents ecd4ceccfd02
children 09f51f2b3b0d
files client/src/components/importschedule/Importschedule.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importschedule/Importschedule.vue	Thu Jan 10 09:33:47 2019 +0100
+++ b/client/src/components/importschedule/Importschedule.vue	Thu Jan 10 11:09:08 2019 +0100
@@ -146,13 +146,13 @@
         });
     },
     triggerManualImport(id) {
-      HTTP.get("/imports/config/" + id, {
+      HTTP.get("/imports/config/" + id + "/run", {
         headers: { "X-Gemma-Auth": localStorage.getItem("token") }
       })
         .then(response => {
           const { id } = response.data;
           displayInfo({
-            title: this.$gettext("Not Implemented"),
+            title: this.$gettext("Imports"),
             message: this.$gettext("Manually triggered import: #") + id
           });
         })