Thor/Thor.BlazorWAsm/Pages/InspectionFilling.razor
2025-03-21 07:19:48 +01:00

25 lines
361 B
Plaintext

@page "/inspection"
@inject Trip TripManager;
@if(Inspection is not null)
{
<InspectionFiller Inspection=@Inspection/>
}
else
{
<Spinner />
}
@code
{
public Inspection? Inspection = null;
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
Inspection = TripManager.Current;
}
}