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

@@ -3,20 +3,9 @@
</template>
<script setup lang="ts">
import { defineComponent, onMounted } from 'vue';
import { useBoatStore } from './stores/boat';
import { useScheduleStore } from './stores/schedule';
import { useAuthStore } from './stores/auth';
import { defineComponent } from 'vue';
defineComponent({
name: 'OYS Borrow-a-Boat',
});
onMounted(async () => {
if (useAuthStore().currentUser) {
await useBoatStore().fetchBoats();
await useScheduleStore().fetchTimeBlocks();
await useScheduleStore().fetchTimeBlockTemplates();
}
});
</script>