Added button to create new cache

This commit is contained in:
Katharina Will 2019-04-08 14:48:56 +02:00
parent 1c5aacab2b
commit 941eba5e3d
2 changed files with 9 additions and 6 deletions

View File

@ -51,6 +51,9 @@
</q-expansion-item>
</q-card>
</q-list>
<div class="row justify-end">
<q-btn v-if="hasAdminState" @click="startCache(cache.id)" unelevated color="positive" stack icon="add" label="Erstellen" size="sm" side="left"/>
</div>
</q-tab-panel>

View File

@ -71,12 +71,12 @@
tab: 'solo',
rankinglist: [],
users: [{
username: "kathy", id: "123", rankingPointsSum: "15"
},
{
username: "timo", id: "124", rankingPointsSum: "20"
}]
}
username: "CacherA", id: "123", rankingPointsSum: "15"
},
{
username: "CacherB", id: "124", rankingPointsSum: "20"
}]
}
},
created: function() {
console.log("created(): " + this.rankinglist);