diff --git a/src/AzureIoTHub.Portal/Client/Pages/Gateways/Detail.razor b/src/AzureIoTHub.Portal/Client/Pages/Gateways/Detail.razor index b61167b88..fed2a74e3 100644 --- a/src/AzureIoTHub.Portal/Client/Pages/Gateways/Detail.razor +++ b/src/AzureIoTHub.Portal/Client/Pages/Gateways/Detail.razor @@ -262,7 +262,7 @@ else Snackbar.Add($"Error
Status : {c2dResult.Status};
Payload : {c2dResult.Payload};", Severity.Error, (option) => { - option.VisibleStateDuration = 100000; + option.VisibleStateDuration = 10000; }); } } diff --git a/src/AzureIoTHub.Portal/Client/Pages/Gateways/Logs.razor b/src/AzureIoTHub.Portal/Client/Pages/Gateways/Logs.razor index 2629e8567..b19e30bff 100644 --- a/src/AzureIoTHub.Portal/Client/Pages/Gateways/Logs.razor +++ b/src/AzureIoTHub.Portal/Client/Pages/Gateways/Logs.razor @@ -3,9 +3,9 @@ @using Newtonsoft.Json; - + - + @@ -13,7 +13,7 @@ - + @@ -26,7 +26,10 @@ @context.TimeStamp @context.LogLevel - @context.Text + + + + @*@context.Text*@ diff --git a/src/AzureIoTHub.Portal/Server/Controllers/DevicesController.cs b/src/AzureIoTHub.Portal/Server/Controllers/DevicesController.cs index 743a6bc52..e566721e0 100644 --- a/src/AzureIoTHub.Portal/Server/Controllers/DevicesController.cs +++ b/src/AzureIoTHub.Portal/Server/Controllers/DevicesController.cs @@ -59,7 +59,6 @@ public async Task> Get() { // Gets all the twins from this devices var items = await this.devicesService.GetAllDevice(); - var results = new List(); return items.Select(this.deviceTwinMapper.CreateDeviceListItem); }