diff --git a/Client/Pages/Index.razor b/Client/Pages/Index.razor index e9a675f..4f23e57 100644 --- a/Client/Pages/Index.razor +++ b/Client/Pages/Index.razor @@ -1,3 +1,3 @@ @page "/" -

Dashboard

+

Welcome

diff --git a/Client/Pages/Sensor.razor b/Client/Pages/Sensor.razor index 491e0b6..e9a8afc 100644 --- a/Client/Pages/Sensor.razor +++ b/Client/Pages/Sensor.razor @@ -1,5 +1,6 @@ @page "/sensor" @page "/sensor/{Id:guid}" + @inject ISensorService sensorService @if (!Id.HasValue) diff --git a/Client/Pages/SensorReports.razor b/Client/Pages/SensorReports.razor index 9ec2a43..e1e4bef 100644 --- a/Client/Pages/SensorReports.razor +++ b/Client/Pages/SensorReports.razor @@ -1,5 +1,5 @@ @page "/sensorreports/{Id:guid}" -@using Microsoft.AspNetCore.Components.WebAssembly.Authentication + @inject ISensorReportsService SensorReportsService @inject NavigationManager navigationManager @@ -14,8 +14,8 @@ Time - TempF TempC + TempF Usage Actions diff --git a/Client/Pages/Sensors.razor b/Client/Pages/Sensors.razor index 1a890f5..fd9272d 100644 --- a/Client/Pages/Sensors.razor +++ b/Client/Pages/Sensors.razor @@ -1,5 +1,5 @@ @page "/sensors" -@using Microsoft.AspNetCore.Components.WebAssembly.Authentication + @inject ISensorService SensorService @inject NavigationManager navigationManager diff --git a/Client/_Imports.razor b/Client/_Imports.razor index 8f6a411..94632a1 100644 --- a/Client/_Imports.razor +++ b/Client/_Imports.razor @@ -5,6 +5,7 @@ @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web @using Microsoft.AspNetCore.Components.WebAssembly.Http +@using Microsoft.AspNetCore.Components.WebAssembly.Authentication @using Microsoft.JSInterop @using ComplexPrototypeSystem.Client @using ComplexPrototypeSystem.Client.Shared