Adding DualDisplay to build methods

This commit is contained in:
Andrew Welker
2020-07-17 15:42:19 -06:00
parent d6a6791e7b
commit ffaff91ed2
5 changed files with 105 additions and 54 deletions

View File

@@ -46,14 +46,14 @@ namespace PepperDash.Essentials.Core.Config
public Dictionary<string, DestinationListItem> GetDestinationListForKey(string key)
{
if (string.IsNullOrEmpty(key) || !SourceLists.ContainsKey(key))
if (string.IsNullOrEmpty(key) || !DestinationLists.ContainsKey(key))
return null;
return DestinationLists[key];
}
/// <summary>
/// Checks Devices for an item with a Key that matches and returns it if found. Otherwise, retunes null
/// Checks Devices for an item with a Key that matches and returns it if found. Otherwise, returns null
/// </summary>
/// <param name="key">Key of desired device</param>
/// <returns></returns>