diff --git a/MP-TAB3/Components/MachineBlock.razor.cs b/MP-TAB3/Components/MachineBlock.razor.cs index 3a525255..8f81ae30 100644 --- a/MP-TAB3/Components/MachineBlock.razor.cs +++ b/MP-TAB3/Components/MachineBlock.razor.cs @@ -140,7 +140,7 @@ namespace MP_TAB3.Components } /// - /// CSS calss x testo (se descr lunga scorre...) + /// CSS class x testo (se descr lunga scorre...) /// protected string textDescrCss { diff --git a/MP-TAB3/Components/ScrapEditor.razor b/MP-TAB3/Components/ScrapEditor.razor index 3a89797c..12545c99 100644 --- a/MP-TAB3/Components/ScrapEditor.razor +++ b/MP-TAB3/Components/ScrapEditor.razor @@ -42,11 +42,11 @@
- @foreach (var item in ListComplete) + @foreach (var item in listCauScarto) {
diff --git a/MP-TAB3/Components/ScrapEditor.razor.cs b/MP-TAB3/Components/ScrapEditor.razor.cs index e339a29d..96ef8169 100644 --- a/MP-TAB3/Components/ScrapEditor.razor.cs +++ b/MP-TAB3/Components/ScrapEditor.razor.cs @@ -32,7 +32,7 @@ namespace MP_TAB3.Components } protected string errMsg { get; set; } = ""; - protected List ListComplete { get; set; } = new List(); + protected List listCauScarto { get; set; } = new List(); [Inject] protected MessageService MServ { get; set; } = null!; @@ -124,7 +124,11 @@ namespace MP_TAB3.Components protected async Task ReloadData() { - ListComplete = await TabServ.VSCS_getAll(); + var rawData = await TabServ.VSCS_getAll(); + listCauScarto = rawData + .Where(x => x.isEnabled) + .OrderBy(x => x.label) + .ToList(); } protected void resetDate() diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 60e338b8..8a818395 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2402.2610 + 6.16.2402.2614 enable MP_TAB3 diff --git a/MP-TAB3/Pages/RegNewDevice.razor b/MP-TAB3/Pages/RegNewDevice.razor index acfef946..f16cb53f 100644 --- a/MP-TAB3/Pages/RegNewDevice.razor +++ b/MP-TAB3/Pages/RegNewDevice.razor @@ -41,12 +41,12 @@ } -@if (oprsList.Count > 0) +@if (oprList.Count > 0) {
Selezionare un operatore