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>-->
<q-img src="statics/osm_mock.png" transition="fade" class="absolute-full">
<template v-slot:loading>
<QSpinnerPuff color="cyan-14" size="4em" />
<q-spinner-puff color="cyan-14" size="4em" />
</template>
</q-img>
</q-tab-panel>

View File

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