Converted some schedule to use backend

This commit is contained in:
2024-05-04 23:17:05 -04:00
parent fa4d83e42d
commit 634cff507c
7 changed files with 83 additions and 60 deletions

View File

@@ -131,8 +131,7 @@ const bookingForm = ref<BookingForm>({
});
watch(timeblock, (tb_new) => {
console.log('Hi');
bookingForm.value.boat = useBoatStore().boats.find(
bookingForm.value.boat = useBoatStore().boats.value.find(
(b) => b.$id === tb_new?.boatId
);
bookingForm.value.startDate = date.formatDate(tb_new?.start, dateFormat);