UI Enhancements

This commit is contained in:
2024-06-03 12:01:38 -04:00
parent b2420b270c
commit c3098b073f
8 changed files with 98 additions and 65 deletions

View File

@@ -163,6 +163,7 @@ watch(reservation, (newReservation) => {
} else {
const updatedReservation = {
...newReservation,
user: auth.currentUser?.$id,
interval: {
start: newReservation.start,
end: newReservation.end,
@@ -191,7 +192,6 @@ const bookingName = computed(() =>
const boat = computed((): Boat | null => {
const boatId = bookingForm.value.interval?.resource;
console.log('Boat Lookup:', boatId);
return boatStore.getBoatById(boatId);
});