@inherits LayoutComponentBase @inject NavigationManager Navigation @implements IDisposable
@Body Diese Seite konnte nicht angezeigt werden. Details stehen im Server-Log. Neu versuchen Zur Startseite
AccountingNext App Copyright 2025 by Claudio Schaad
An unhandled error has occurred. Reload 🗙
@code { private ErrorBoundary? errorBoundary; protected override void OnInitialized() { // ErrorBoundary state persists across NavigationManager.NavigateTo, so the // error page would linger even after the user clicked "Zur Startseite". // Reset on any location change. Navigation.LocationChanged += OnLocationChanged; } private void OnLocationChanged(object? sender, Microsoft.AspNetCore.Components.Routing.LocationChangedEventArgs e) => errorBoundary?.Recover(); private void Recover() => errorBoundary?.Recover(); public void Dispose() => Navigation.LocationChanged -= OnLocationChanged; }