Commit 8b2f7e39 authored by Volker Krause's avatar Volker Krause
Browse files

Hide seat information for bus tickets when not available

parent 5af4059f
......@@ -120,10 +120,13 @@ App.DetailsPage {
Kirigami.Separator {
Kirigami.FormData.label: i18n("Seat")
Kirigami.FormData.isSection: true
visible: seatLabel.visible
}
QQC2.Label {
id: seatLabel
Kirigami.FormData.label: i18n("Seat:")
text: reservation.reservedTicket.ticketedSeat.seatNumber
visible: text !== ""
}
// booking details
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment