diff client/src/components/systemconfiguration/PDFTemplates.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 7768f14f6535
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/PDFTemplates.vue	Tue Dec 17 15:05:56 2019 +0100
+++ b/client/src/components/systemconfiguration/PDFTemplates.vue	Thu Dec 19 09:35:14 2019 +0100
@@ -163,7 +163,7 @@
             element.click();
           })
           .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}`;
@@ -292,7 +292,7 @@
           this.templates = response.data;
         })
         .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}`;