Aggiunta planner vuoto
This commit is contained in:
@@ -14,11 +14,14 @@ namespace Lux.UI.Components.Compo.WorkLoad
|
||||
[Parameter]
|
||||
public EventCallback<string> EC_ResetQueue { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public List<string> QueueWait { get; set; } = new List<string>();
|
||||
|
||||
[Parameter]
|
||||
public List<string> QueueRun { get; set; } = new List<string>();
|
||||
|
||||
[Parameter]
|
||||
public List<string> QueueWait { get; set; } = new List<string>();
|
||||
public List<string> QueueDone { get; set; } = new List<string>();
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
@@ -79,7 +82,8 @@ namespace Lux.UI.Components.Compo.WorkLoad
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private IEnumerable<string>? ListRecords { get; set; } = null;
|
||||
private IEnumerable<string>? QueueRunPaged { get; set; } = null;
|
||||
private IEnumerable<string>? QueueDonePaged { get; set; } = null;
|
||||
|
||||
#endregion Private Properties
|
||||
|
||||
@@ -91,7 +95,7 @@ namespace Lux.UI.Components.Compo.WorkLoad
|
||||
private void UpdateTable()
|
||||
{
|
||||
// fix paginazione
|
||||
ListRecords = QueueRun
|
||||
QueueRunPaged = QueueRun
|
||||
.Skip(numRecord * (currPage - 1))
|
||||
.Take(numRecord);
|
||||
totalCount = QueueRun.Count();
|
||||
|
||||
Reference in New Issue
Block a user