Skip to content

Commit

Permalink
Get rid of OnlyTin
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 17, 2024
1 parent 6de2117 commit 948744b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/Pages/Booking/VerifyBooking.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import {Head, Link, useForm} from "@inertiajs/vue3";
import {Head, Link, useForm, usePage} from "@inertiajs/vue3";
import BackButton from "@/Components/BackButton.vue";
import List from "@/Components/List/List.vue";
import ListItem from "@/Components/List/ListItem.vue";
Expand All @@ -18,7 +18,7 @@ const props = defineProps({
// Create Form Model with seat id's as index
const formModel = reactive(
Object.fromEntries(
props.seats.map((seat) => [seat.id, {name: 'Tin', comment: '', seat_id: seat.id}]
props.seats.map((seat) => [seat.id, {name: usePage().props.auth.user.name, comment: '', seat_id: seat.id}]
)
))
Expand Down

0 comments on commit 948744b

Please sign in to comment.