some fixes

This commit is contained in:
Timo Volkmann 2019-03-27 10:24:53 +01:00
parent e6dd3b33b9
commit 53dfb2a90a
2 changed files with 4 additions and 6 deletions

View File

@ -25,7 +25,7 @@
<!--</div>--> <!--</div>-->
<q-img src="statics/osm_mock.png" transition="fade" class="absolute-full"> <q-img src="statics/osm_mock.png" transition="fade" class="absolute-full">
<template v-slot:loading> <template v-slot:loading>
<QSpinnerPuff color="cyan-14" size="4em" /> <q-spinner-puff color="cyan-14" size="4em" />
</template> </template>
</q-img> </q-img>
</q-tab-panel> </q-tab-panel>

View File

@ -7,8 +7,8 @@
<div class="absolute-bottom"> <div class="absolute-bottom">
<div class="text-h6"> <div class="text-h6">
<span>{{ cache.name }}</span> <span>{{ cache.name }}</span>
<span v-if="cache.stationen.length > 2"> (Multicache)</span> <!--<span v-if="cache.stationen.length > 2"> (Multicache)</span>-->
<span v-else> (Singlecache)</span> <!--<span v-else> (Singlecache)</span>-->
</div> </div>
</div> </div>
</q-img> </q-img>
@ -22,8 +22,6 @@
</q-card-actions> </q-card-actions>
</q-card> </q-card>
</div> </div>
<a href="/">Hallo</a>
</div> </div>
</template> </template>
@ -75,7 +73,7 @@ export default {
methods: { methods: {
fetchTodos () { fetchTodos () {
this.$axios.get('http://localhost:8080/allCaches') this.$axios.get('http://localhost:8080/api/allCaches')
.then((response) => { .then((response) => {
console.log("Caches: " + this.caches); console.log("Caches: " + this.caches);
this.caches = response.data; this.caches = response.data;