Remove unused NavigationManager injection from VerificationSettingsDialog and clean up ProspectSortControl by removing unnecessary service injections
This commit is contained in:
@@ -10,11 +10,7 @@ using Microsoft.AspNetCore.Components;
|
|||||||
namespace FoodsharingSiegen.Server.Controls;
|
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;
|
||||||
|
|
||||||
|
|||||||
@@ -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!;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user