diff --git a/frontend/src/boot/axios.js b/frontend/src/boot/axios.js
index 8523d48..ea842da 100644
--- a/frontend/src/boot/axios.js
+++ b/frontend/src/boot/axios.js
@@ -1,7 +1,8 @@
import axios from "axios";
const axiosInstance = axios.create({
- baseURL: process.env.API
+ baseURL: process.env.API,
+ timeout: 3000
});
console.log("process.env.DEV: "+process.env.DEV);
console.log("process.env.API: "+process.env.API);
diff --git a/frontend/src/pages/Cache.vue b/frontend/src/pages/Cache.vue
index e3126cf..5409e0a 100644
--- a/frontend/src/pages/Cache.vue
+++ b/frontend/src/pages/Cache.vue
@@ -1,75 +1,108 @@
-
-
-
- Fehler
-
-
-
- Es konnten keine übereinstimmenden Zugangsdaten in der Datenbank gefunden werden.
-
-
-
-
-
-
-
@@ -68,13 +59,13 @@
export default {
data() {
return {
+ loading: false,
user: {
email: "volkmann@geocaching.de",
password: "0123456789",
//token: "",
// evalAuthentication: false
},
- credentialsDialog: false,
};
},
// beforeMount: {
@@ -97,7 +88,7 @@
},
methods: {
login: function () {
-
+ this.loading = true;
const data = {
email: this.user.email,
password: this.user.password
@@ -135,7 +126,9 @@
}
console.log(error.config);
this.$store.commit('dialog/NEW_MESSAGE_DIALOG', { message: message, title: header, });
- })
+ }).finally(() => {
+ this.loading = false;
+ })
},
evalAuthentication: function () {
this.$store.commit('auth/SET_AUTHENTICATED');
diff --git a/frontend/src/pages/StationEdit.vue b/frontend/src/pages/StationEdit.vue
index f51add4..78b29a4 100644
--- a/frontend/src/pages/StationEdit.vue
+++ b/frontend/src/pages/StationEdit.vue
@@ -3,14 +3,16 @@
Neue Station
+ ['bold', 'italic', 'strike', 'underline'],
+ ['undo', 'redo'],
+ ['hr', 'link'],
+ ['fullscreen'],
+ ]"
+ v-model="station.description" min-height="10rem"/>
-
-
-
+
+
+
Location
Lösung
-
-
+
+
@@ -37,6 +40,7 @@