diff client/src/components/importoverview/ImportOverview.vue @ 4869:6b054b91d9b2

backend not reachable as error message etd. Login adjusted
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 19 Dec 2019 09:35:14 +0100
parents 008bc1ae8897
children e89c1140f0a8
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue	Tue Dec 17 15:05:56 2019 +0100
+++ b/client/src/components/importoverview/ImportOverview.vue	Thu Dec 19 09:35:14 2019 +0100
@@ -437,7 +437,7 @@
         })
         .catch(error => {
           this.loading = false;
-          let message = "Problems with backend";
+          let message = "Backend not reachable";
           if (error.response) {
             const { status, data } = error.response;
             message = `${status}: ${data.message || data}`;
@@ -509,7 +509,7 @@
                 });
               })
               .catch(error => {
-                let message = "Problems with backend";
+                let message = "Backend not reachable";
                 if (error.response) {
                   const { status, data } = error.response;
                   message = `${status}: ${data.message || data}`;
@@ -531,7 +531,7 @@
   mounted() {
     this.loadUpdatedLogs();
     this.$store.dispatch("usermanagement/loadUsers").catch(error => {
-      let message = "Problems with backend";
+      let message = "Backend not reachable";
       if (error.response) {
         const { status, data } = error.response;
         message = `${status}: ${data.message || data}`;