add graphics elements on classic schedule items (#2380)
This commit is contained in:
@@ -314,6 +314,17 @@ public abstract class ProgramScheduleItemCommandBase
|
||||
});
|
||||
}
|
||||
|
||||
foreach (int graphicsElementId in item.GraphicsElementIds)
|
||||
{
|
||||
result.ProgramScheduleItemGraphicsElements ??= [];
|
||||
result.ProgramScheduleItemGraphicsElements.Add(
|
||||
new ProgramScheduleItemGraphicsElement
|
||||
{
|
||||
ProgramScheduleItem = result,
|
||||
GraphicsElementId = graphicsElementId
|
||||
});
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user