Working on exercise 1.2

This commit is contained in:
2024-11-16 16:56:20 +01:00
parent 70e508ce7a
commit 7912e38932
16 changed files with 85 additions and 59 deletions

View File

@@ -40,7 +40,7 @@ defineProps({
:title="concert.name"
v-if="!loading"
:link="showButton && concert.inStock > 0"
@click="showButton && concert.inStock > 0 ? router.push('/concerts/booking/' + concert.id) : () => {}"
@click="showButton && concert.inStock > 0 ? router.push('/concerts/booking/' + location.urlName + '/' + concert.date) : () => {}"
>
<template #prepend>
<div>