Exercisegroup 0 and 1 complete implemented

This commit is contained in:
2024-11-18 15:41:33 +01:00
parent 7912e38932
commit 2d77a793d8
18 changed files with 138 additions and 80 deletions

View File

@@ -8,6 +8,7 @@ import { usePreferencesStore } from '@/stores/preferences.store';
import dashboardCard from './dashboardCard.vue';
import { useOrderStore } from '@/stores/order.store';
import { useFilesStore } from '@/stores/files.store';
import { useExerciseStore } from '@/stores/exercise.store';
const concertStore = useConcertStore()
const bandStore = useBandStore()
@@ -17,6 +18,9 @@ const locationStore = useLocationStore()
const preferencesStore = usePreferencesStore()
const orderStore = useOrderStore()
const filesStore = useFilesStore()
const exerciseStore = useExerciseStore()
exerciseStore.solveExercise(1, 3)
filesStore.getStaticFolders()
bandStore.getBands()

View File

@@ -21,7 +21,14 @@ onMounted(async () => {
)
})
watch(() => router.currentRoute.value.params.id, () => {
watch(() => router.currentRoute.value.params.locationUrl, () => {
concertStore.getConcert(
String(router.currentRoute.value.params.locationUrl),
String(router.currentRoute.value.params.date)
)
})
watch(() => router.currentRoute.value.params.date, () => {
concertStore.getConcert(
String(router.currentRoute.value.params.locationUrl),
String(router.currentRoute.value.params.date)