Skip to content

Commit

Permalink
fixed fine to me
Browse files Browse the repository at this point in the history
  • Loading branch information
acmoune committed Jun 5, 2024
1 parent 00b0f74 commit 7ae3d5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/OsanWebsite.Web/Components/BookingForm.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@inject IBookingRepository _repo
@inject IEventsRepository _eventRepo
@inject AlertService Alert
@inject NavigationManager nav


@if (_event != null)
Expand Down Expand Up @@ -162,6 +163,8 @@
if (successMessage != null)
{
await Alert.Info(successMessage);
await Task.Delay(2000);
nav.NavigateTo("/reservation", true);
}
if (errorMessage != null)
{
Expand Down

0 comments on commit 7ae3d5f

Please sign in to comment.