Sorted out a bunch of reactivity issues

This commit is contained in:
2024-05-29 10:00:48 -04:00
parent 6654132120
commit 387af2e6ce
10 changed files with 304 additions and 228 deletions

View File

@@ -14,6 +14,8 @@
Start: {{ formatDate(reservation.start) }}
<br />
End: {{ formatDate(reservation.end) }}
<br />
Type: {{ reservation.reason }}
</p>
</div>
</div>
@@ -50,7 +52,7 @@
<q-card-actions v-if="!isPast(reservation.end)">
<q-btn
flat
@click="modifyReservation()">
:to="{ name: 'edit-reservation', params: { id: reservation.$id } }">
Modify
</q-btn>
<q-btn
@@ -107,8 +109,4 @@ const reservation = defineModel<Reservation>({ required: true });
const cancelReservation = () => {
cancelDialog.value = true;
};
const modifyReservation = () => {
return;
};
</script>