verdie-g / dotnet-events-viewer

Analyze .NET events collected with dotnet-trace in the browser
https://verdie-g.github.io/dotnet-events-viewer/
MIT License
2 stars 0 forks source link

Guard pages if trace == null #4

Closed verdie-g closed 3 months ago

verdie-g commented 5 months ago

If there is no trace, the pages should redirected to the home. https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/routing?view=aspnetcore-8.0#handleprevent-location-changes could help.

verdie-g commented 5 months ago

Kind of solved by https://github.com/verdie-g/dotnet-event-viewer/commit/63e961a2fe5636b52828fb717a1abdc4726d5042.