Widget for own participications

This commit is contained in:
2026-04-25 20:47:34 +02:00
parent 1ee6b9968f
commit f813056bf7
3 changed files with 61 additions and 3 deletions

View File

@@ -13,6 +13,9 @@ onMounted(async () => {
Object.assign(myParticipations, data);
});
function navigateTo(url) {
window.location.href = url;
}
</script>
<template>
@@ -47,7 +50,7 @@ onMounted(async () => {
</p>
<p v-if="myParticipations.myParticipations.length === 0">Du bist aktuelle für keine Veranstaltung angemeldet.</p>
<p>
<input type="button" value="Für weitere Veranstaltung anmelden" class="button" />
<input type="button" value="Jetzt anmelden" class="button" @click="navigateTo('/event/available-events')" />
</p>
@@ -63,6 +66,6 @@ onMounted(async () => {
}
.bg-yellow {
background-color: #f3f353;
background-color: #e4e44c;
}
</style>