From 6ec86fdc2516b18c85d91999854b1dd7ac598fe5 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Tue, 13 Feb 2024 22:46:31 +0100 Subject: [PATCH] Improved ux for ticket popup --- .../UI/Components/TicketPopupMain.razor | 47 ++++++++++--------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/Moonlight/Features/Ticketing/UI/Components/TicketPopupMain.razor b/Moonlight/Features/Ticketing/UI/Components/TicketPopupMain.razor index 32666ba8..28855899 100644 --- a/Moonlight/Features/Ticketing/UI/Components/TicketPopupMain.razor +++ b/Moonlight/Features/Ticketing/UI/Components/TicketPopupMain.razor @@ -1,36 +1,37 @@ @using Moonlight.Features.Ticketing.Entities +
@if (ViewIndex == 0) - { - - } - else - { -
- @if (ViewIndex == 1) - { - - } - else if (ViewIndex == 2) - { - - } - else if (ViewIndex == 3) - { - - } -
- } + { + + } + else + { +
+ @if (ViewIndex == 1) + { + + } + else if (ViewIndex == 2) + { + + } + else if (ViewIndex == 3) + { + + } +
+ }
@code { private int ViewIndex = 0; - + public Ticket CurrentTicket { get; private set; } public async Task SetViewIndex(int index)