diff --git a/Models/DashboardViewModel.cs b/Models/DashboardViewModel.cs index f0bb8e6..747e72a 100644 --- a/Models/DashboardViewModel.cs +++ b/Models/DashboardViewModel.cs @@ -7,6 +7,7 @@ namespace Disco.Plugins.ServiceTracker.Models { public List Tiles { get; set; } public List ReadyForReturn { get; set; } + public List OnHold { get; set; } public DashboardStats Stats { get; set; } public ServiceTrackerConfig Config { get; set; } public string CurrentFilter { get; set; } @@ -17,6 +18,7 @@ namespace Disco.Plugins.ServiceTracker.Models { Tiles = new List(); ReadyForReturn = new List(); + OnHold = new List(); Stats = new DashboardStats(); } } @@ -60,7 +62,6 @@ namespace Disco.Plugins.ServiceTracker.Models public int AgeDays { get; set; } public string EtaDisplay { get; set; } public DateTime SortDate { get; set; } - public DashboardTile() { Source = "disco"; } } @@ -85,13 +86,6 @@ namespace Disco.Plugins.ServiceTracker.Models public Dictionary ByLocation { get; set; } public Dictionary ByStatus { get; set; } public Dictionary ByTech { get; set; } - - public DashboardStats() - { - ByPriority = new Dictionary(); - ByLocation = new Dictionary(); - ByStatus = new Dictionary(); - ByTech = new Dictionary(); - } + public DashboardStats() { ByPriority = new Dictionary(); ByLocation = new Dictionary(); ByStatus = new Dictionary(); ByTech = new Dictionary(); } } }