Thor/Thor.Maui/Components/Pages/InspectionFilling.razor
2025-09-03 04:25:16 +02:00

24 lines
367 B
Plaintext

@page "/inspection"
@inject TripManager 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;
}
}