Refactor Reservations into new store
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m2s

This commit is contained in:
2024-05-13 12:42:10 -04:00
parent b0921ccf32
commit dd631b71bb
6 changed files with 96 additions and 89 deletions

View File

@@ -7,6 +7,7 @@ import { defineComponent, onMounted } from 'vue';
import { useScheduleStore } from './stores/schedule';
import { useBoatStore } from './stores/boat';
import { useAuthStore } from './stores/auth';
import { useReservationStore } from './stores/reservation';
defineComponent({
name: 'OYS Borrow-a-Boat',
@@ -16,7 +17,7 @@ onMounted(async () => {
await useAuthStore().init();
await useScheduleStore().fetchIntervalTemplates();
await useScheduleStore().fetchIntervals();
await useScheduleStore().fetchReservations();
await useReservationStore().fetchReservations();
await useBoatStore().fetchBoats();
});
</script>