diff --git a/src/IoTHub.Portal.Client/Components/Planning/EditPlanning.razor b/src/IoTHub.Portal.Client/Components/Planning/EditPlanning.razor index f3c002ff7..0bf60129f 100644 --- a/src/IoTHub.Portal.Client/Components/Planning/EditPlanning.razor +++ b/src/IoTHub.Portal.Client/Components/Planning/EditPlanning.razor @@ -221,8 +221,6 @@ public string defaultDeviceModel { get; set; } = "Choose a Device Model"; - public string defaultDeviceModel { get; set; } = "Choose a Device Model"; - public IEnumerable DeviceModels = new List(); Dictionary> CommandDictionary = new Dictionary>(); diff --git a/src/IoTHub.Portal.Client/Pages/Layer/LayerListPage.razor b/src/IoTHub.Portal.Client/Pages/Layer/LayerListPage.razor index 68afc39e4..2719565b8 100644 --- a/src/IoTHub.Portal.Client/Pages/Layer/LayerListPage.razor +++ b/src/IoTHub.Portal.Client/Pages/Layer/LayerListPage.razor @@ -19,10 +19,6 @@ @inject IDialogService DialogService @inject ISnackbar Snackbar -@inject ILayerClientService LayerClientService -@inject IDialogService DialogService -@inject ISnackbar Snackbar - @@ -56,10 +52,11 @@ [CascadingParameter] public Error Error { get; set; } = default!; - public HashSet Layers { get; set; } = new HashSet { }; + public HashSet Layers { get; set; } = new(); + + private IEnumerable Devices { get; set; } = new List(); - public bool IsLoading { get; set; } = true; - public readonly int[] pageSizeOptions = { 10, 5, 3 }; + public string? printDetails { get; set; } protected override async Task OnInitializedAsync() {