Browse Source

fix building yaml playouts with no imports (#2249)

pull/2250/head
Jason Dove 6 days ago committed by GitHub
parent
commit
3b955255ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ErsatzTV.Core/Scheduling/YamlScheduling/Models/YamlPlayoutDefinition.cs

2
ErsatzTV.Core/Scheduling/YamlScheduling/Models/YamlPlayoutDefinition.cs

@ -2,7 +2,7 @@ namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; @@ -2,7 +2,7 @@ namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models;
public class YamlPlayoutDefinition
{
public List<string> Import { get; set; }
public List<string> Import { get; set; } = [];
public List<YamlPlayoutContentItem> Content { get; set; } = [];

Loading…
Cancel
Save