Exercisegroup 0 and 1 complete implemented
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user