diff --git a/frontend/src/pages/Cache.vue b/frontend/src/pages/Cache.vue
index ef3f49a..db80dbb 100644
--- a/frontend/src/pages/Cache.vue
+++ b/frontend/src/pages/Cache.vue
@@ -147,14 +147,15 @@
methods: {
editEndStation() {
console.log("editEndStation()");
- const station = this.cache.endStation;
+ const station = this.endStation;
console.log(station);
if (station.hasOwnProperty('id')) {
//this.$router.push({ path: '/station/'+station.id});
} else {
// TODO Stationen bearbeitbar machen bevor sie abgeschickt werden. Am besten Station Objekt als Übergabe Parameter bei Router
this.$store.commit('cacheCollector/SET_TEMPSTATION', station);
- this.$router.push({path: `/tempstation/${index}`}); // add parameter
+ //this.$router.push({path: `/tempendstation/${index}`}); // add parameter
+ this.$router.push({path: `/tempendstation/`}); // add parameter
}
},
diff --git a/frontend/src/pages/CacheStart.vue b/frontend/src/pages/CacheStart.vue
index 4619554..2cc51de 100644
--- a/frontend/src/pages/CacheStart.vue
+++ b/frontend/src/pages/CacheStart.vue
@@ -94,8 +94,8 @@
setParams() {
console.log("setParams: ");
let params = {};
- params.cacheID = this.code.split('/')[0];
- params.stationID = this.code.split('/')[1];
+ params.cacheID = this.result.split('/')[0];
+ params.stationID = this.result.split('/')[1];
params.durchgefuehrterCacheID = this.cacheID;
console.log(params.cacheID + " und " + params.stationID);
if (localStorage.getItem('userToken')) {
diff --git a/frontend/src/pages/StationEdit.vue b/frontend/src/pages/StationEdit.vue
index 78b29a4..3e1a6e8 100644
--- a/frontend/src/pages/StationEdit.vue
+++ b/frontend/src/pages/StationEdit.vue
@@ -27,8 +27,8 @@
Lösung
-Endstation
+Location
+