Enable ticket activity rows by default
This commit is contained in:
@@ -25,6 +25,7 @@ namespace FasdDesktopUi.Basics.Services
|
||||
#region Fields
|
||||
|
||||
private const string TicketAndServiceRequestsEnabledKey = "TicketAndServiceRequestsEnabled";
|
||||
private const bool TicketAndServiceRequestsEnabledDefault = true;
|
||||
private readonly ITicketOverviewCommunicationSource _communicationSource;
|
||||
private static readonly string[] OverviewKeys = new[]
|
||||
{
|
||||
@@ -58,7 +59,7 @@ namespace FasdDesktopUi.Basics.Services
|
||||
private bool _isDemo;
|
||||
private bool _initialized;
|
||||
private bool _isEnabled;
|
||||
private bool _ticketAndServiceRequestsEnabled;
|
||||
private bool _ticketAndServiceRequestsEnabled = TicketAndServiceRequestsEnabledDefault;
|
||||
private readonly Random _random = new Random();
|
||||
#if isDemo
|
||||
private readonly List<DemoTicketRecord> _persistedDemoTickets = new List<DemoTicketRecord>();
|
||||
@@ -343,7 +344,7 @@ namespace FasdDesktopUi.Basics.Services
|
||||
: OverviewKeys;
|
||||
var rawCounts = await communication.GetTicketOverviewCounts(requestedKeys, scope == TileScope.Role).ConfigureAwait(false);
|
||||
var counts = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase);
|
||||
var ticketAndServiceRequestsEnabled = _isDemo;
|
||||
var ticketAndServiceRequestsEnabled = TicketAndServiceRequestsEnabledDefault;
|
||||
|
||||
if (rawCounts != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user