diff --git a/src/webapp/public/index.html b/src/webapp/public/index.html index b4d7f11..2f94747 100644 --- a/src/webapp/public/index.html +++ b/src/webapp/public/index.html @@ -10,6 +10,7 @@ <%= htmlWebpackPlugin.options.title %> +
diff --git a/src/webapp/src/components/seatplan.vue b/src/webapp/src/components/seatplan.vue index bbfbba2..e1edc0c 100644 --- a/src/webapp/src/components/seatplan.vue +++ b/src/webapp/src/components/seatplan.vue @@ -8,7 +8,7 @@| {{ seating[ ticket[ 1 ] ][ 'content' ][ ticket[ 0 ] ][ 'name' ] }} | -{{ eventInfo[ 'currency' ] }} {{ eventInfo[ 'categories' ][ seating[ ticket[ 1 ] ][ 'content' ][ ticket[ 0 ] ][ 'category' ] ][ 'price' ] }} | +{{ eventInfo[ 'currency' ] }} {{ eventInfo[ 'categories' ][ seating[ ticket[ 1 ] ][ 'content' ][ ticket[ 0 ] ][ 'category' ] ][ 'price' ][ ticket[ 2 ] ] }} |
{{ eventInfo.RoomName }}
+Stage
Event description
@@ -70,3 +70,14 @@ margin-right: auto } + + diff --git a/src/webapp/src/views/TicketsDetailsView.vue b/src/webapp/src/views/TicketsDetailsView.vue index fb677c9..b662682 100644 --- a/src/webapp/src/views/TicketsDetailsView.vue +++ b/src/webapp/src/views/TicketsDetailsView.vue @@ -18,6 +18,11 @@ name: 'TicketsDetailsView', components: { seatplan + }, + created () { + if ( !sessionStorage.getItem( 'selectedTicket' ) ) { + this.$router.push( '/tickets' ); + } } };