Upgrade Quasar
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user