Visual improvements

This commit is contained in:
2024-05-24 08:11:47 -04:00
parent ce696a5a04
commit 68a2b8ffff
13 changed files with 441 additions and 162 deletions

View File

@@ -38,7 +38,7 @@ export const useAuthStore = defineStore('auth', () => {
}
async function login(email: string, password: string) {
await account.createEmailPasswordSession(email, password);
init();
await init();
}
async function googleLogin() {

View File

@@ -145,6 +145,7 @@ export function getSampleReservations(): Reservation[] {
reservationDate: now,
reason: entry.reason,
status: entry.status as StatusTypes,
comment: '',
};
});
}

View File

@@ -9,6 +9,7 @@ export type Reservation = Partial<Models.Document> & {
resource: string; // Boat ID
status?: StatusTypes;
reason: string;
comment: string;
};
// 24 hrs in advance only 2 weekday, and 1 weekend slot