Update QCalendar
This commit is contained in:
@@ -53,8 +53,8 @@
|
||||
import { useScheduleStore } from 'src/stores/schedule';
|
||||
import { ref } from 'vue';
|
||||
const scheduleStore = useScheduleStore();
|
||||
import { QCalendarDay, today, makeDateTime } from '@quasar/quasar-ui-qcalendar';
|
||||
|
||||
import { makeDateTime, today } from '@quasar/quasar-ui-qcalendar';
|
||||
import { QCalendarDay } from '@quasar/quasar-ui-qcalendar';
|
||||
const selectedDate = ref(today());
|
||||
|
||||
// Use ref to get a reference to the QCalendarDay component
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Boat, useBoatStore } from './boat';
|
||||
import { date } from 'quasar';
|
||||
import { DateOptions } from 'quasar';
|
||||
import { Timestamp } from '@quasar/quasar-ui-qcalendar';
|
||||
import { timeStamp } from 'console';
|
||||
|
||||
export type StatusTypes = 'tentative' | 'confirmed' | 'pending' | undefined;
|
||||
export type Reservation = {
|
||||
@@ -16,7 +15,8 @@ export type Reservation = {
|
||||
reservationDate: Date;
|
||||
status?: StatusTypes;
|
||||
};
|
||||
|
||||
// 24 hrs in advance only 2 weekday, and 1 weekend slot
|
||||
// Within 24 hrs, any available slot
|
||||
/* TODO: Figure out how best to separate out where qcalendar bits should be.
|
||||
e.g.: Should there be any qcalendar stuff in this store? Or should we have just JS Date
|
||||
objects in here? */
|
||||
|
||||
Reference in New Issue
Block a user