Slight changes on TicketListItem append section

This commit is contained in:
2024-10-22 19:08:52 +02:00
parent 9140765772
commit 4b43757dd4
4 changed files with 58 additions and 62 deletions

View File

@@ -6,6 +6,7 @@ import { useBasketStore } from '@/stores/basket.store';
import concertListItem from '@/components/pageParts/concertListItem.vue';
import outlinedButton from '@/components/basics/outlinedButton.vue';
import { useConcertStore } from '@/stores/concert.store';
import ticketListItem from '@/components/pageParts/ticketListItem.vue';
const router = useRouter()
const basketStore = useBasketStore()
@@ -84,7 +85,16 @@ concertStore.getConcert(Number(router.currentRoute.value.params.id))
<v-col>
<v-list >
<v-list-item v-for="seat in basketStore.selectedSeats" >
Group: {{ seat.seatGroupName }} - Row: {{ seat.seatRow }} - Seat: {{ seat.seat.seatNr }}
<ticket-list-item
:concert="concertStore.concert"
:band="concertStore.concert.band"
:location="concertStore.concert.location"
:city="concertStore.concert.location.city"
:image="concertStore.concert.image"
:seat-group="seat.seatGroupName"
:seat-nr="seat.seat.seatNr"
:seat-row="seat.seatRow"
/>
</v-list-item>
</v-list>
</v-col>