Upgrade Quasar

This commit is contained in:
2024-05-06 19:22:28 -04:00
parent 2872fb867e
commit 033993b1b8
6 changed files with 31 additions and 42 deletions

View File

@@ -55,10 +55,15 @@
import {QCalendarScheduler, today} from '@quasar/quasar-ui-qcalendar'
import { useBoatStore } from 'src/stores/boat';
import { useScheduleStore } from 'src/stores/schedule';
import { ref } from 'vue';
import { onMounted, ref } from 'vue';
const selectedDate = ref(today())
const scheduleStore = useScheduleStore()
const resources = useBoatStore().boats
const boatStore = useBoatStore()
const resources = boatStore.boats
const timeblockTemplates = scheduleStore.timeblockTemplates
onMounted(async() => {
await boatStore.fetchBoats();
await scheduleStore.fetchTimeBlockTemplates();
await scheduleStore.fetchTimeBlockTemplates()})
</script>