diff client/src/components/sections/Sections.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 84d01a536bec
line wrap: on
line diff
--- a/client/src/components/sections/Sections.vue	Tue Dec 17 15:05:56 2019 +0100
+++ b/client/src/components/sections/Sections.vue	Thu Dec 19 09:35:14 2019 +0100
@@ -174,7 +174,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}`;
@@ -188,7 +188,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}`;
@@ -234,7 +234,7 @@
     this.$store
       .dispatch("imports/loadSections")
       .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}`;