Abbozzato recupero dati scarti
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
@using MP.Stats.Data
|
||||
|
||||
@inject MessageService MessageService
|
||||
@inject MpStatsService StatService
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<ul>
|
||||
|
||||
@foreach (var item in CurrData)
|
||||
{
|
||||
<li>@item.label: @item.value</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-6"></div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public SelectData currFilter { get; set; }
|
||||
|
||||
protected List<ChartKV> CurrData = new List<ChartKV>();
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
await reloadData();
|
||||
}
|
||||
|
||||
private async Task reloadData()
|
||||
{
|
||||
CurrData = await StatService.StatScartiGetPareto(currFilter, MessageService.SearchVal);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user