Bugfixes: No startup after packaging, infinity loading on concert booking page if user comes from band page

This commit is contained in:
2025-09-01 14:22:53 +02:00
parent d730280876
commit f98eb098f5
6 changed files with 59 additions and 43 deletions

View File

@@ -7,9 +7,13 @@ import concertSection from './concertSection.vue';
import heroImage from '@/components/pageParts/heroImage.vue';
import { useBandStore } from '@/stores/band.store';
import { onMounted, watch } from 'vue';
import { useConcertStore } from '@/stores/concert.store';
const router = useRouter()
const bandStore = useBandStore()
const concertStore = useConcertStore()
concertStore.getConcerts()
onMounted(async () => {
bandStore.getBand(String(router.currentRoute.value.params.name).replaceAll('-', ' '))