Update EventSchedulerForm.vue (#30)

Set the team reference. Fixes #16

---------

Co-authored-by: HumanoidSandvichDispenser <25856867+HumanoidSandvichDispenser@users.noreply.github.com>
master
LegitimateWizard 2025-07-05 20:26:23 -04:00 committed by GitHub
parent 0396e2409a
commit f70e6e994f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,10 @@ onMounted(() => {
if (eventId.value) { if (eventId.value) {
eventsStore.fetchEvent(eventId.value) eventsStore.fetchEvent(eventId.value)
.then((response) => { .then((response) => {
teamsStore.fetchTeam(response.teamId); teamsStore.fetchTeam(response.teamId)
.then((response) => {
team.value = response.team;
});
}); });
} }
}); });