Skip to content

Commit

Permalink
Merge pull request #37 from michelin/bugfix-visual
Browse files Browse the repository at this point in the history
Quickfix DeviceDetail & DeviceCreate
  • Loading branch information
Sben65 authored Dec 7, 2021
2 parents eb007a5 + 554ef3c commit 712e223
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@
protected override async Task OnInitializedAsync()
{
Device.DeviceType = "LoRa Device";

// Enable device by default
Device.IsEnabled = true;

// Gets a list of sensor model previously registered to Azure to allow autocomplete field in the form
SensorList = await Http.GetFromJsonAsync<SensorModel[]>("api/DeviceModels");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@
<MudTextField @bind-Value="@Device.ModelName" Margin="Margin.Dense" Class="custom-disabled" ReadOnly="true" Variant="Variant.Outlined"></MudTextField>
</MudItem>
</MudItem>
<MudItem xs="12" Class="custom-form">
<MudItem md="3" sm="12">
<MudText>Preview : </MudText>
</MudItem>
<MudItem md="9" sm="12">

</MudItem>
</MudItem>
</MudItem>
<MudItem md="6" xs="12">
<MudItem xs="12" Class="custom-form">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties properties_4launchsettings_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>

</Project>

0 comments on commit 712e223

Please sign in to comment.