Visual improvements
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -145,6 +145,7 @@ export function getSampleReservations(): Reservation[] {
|
||||
reservationDate: now,
|
||||
reason: entry.reason,
|
||||
status: entry.status as StatusTypes,
|
||||
comment: '',
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user