Converted some schedule to use backend
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user