Remove unused NavigationManager injection from VerificationSettingsDialog and clean up ProspectSortControl by removing unnecessary service injections

This commit is contained in:
a.beging@eas-solutions.de
2026-04-23 15:20:39 +02:00
parent dc9276e3e9
commit 94a2dbf801
2 changed files with 1 additions and 8 deletions

View File

@@ -11,10 +11,6 @@ namespace FoodsharingSiegen.Server.Controls;
public partial class ProspectSortControl public partial class ProspectSortControl
{ {
[Inject] private IModalService ModalService { get; set; } = null!;
[Inject] private LocalStorageService LocalStorageService { get; set; } = null!;
[Parameter] [Parameter]
public ProspectSortOption CurrentSort { get; set; } = ProspectSortOption.NameAscending; public ProspectSortOption CurrentSort { get; set; } = ProspectSortOption.NameAscending;

View File

@@ -12,9 +12,6 @@ namespace FoodsharingSiegen.Server.Dialogs
[Inject] [Inject]
public ProspectService ProspectService { get; set; } = null!; public ProspectService ProspectService { get; set; } = null!;
[Inject]
public NavigationManager NavigationManager { get; set; } = null!;
[Inject] [Inject]
public IJSRuntime JS { get; set; } = null!; public IJSRuntime JS { get; set; } = null!;