fix block playout ui crash (#2580)
This commit is contained in:
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Fix block history being removed when it is still needed for mirror channel
|
||||
- This caused playout build errors like "Unable to locate history for playout item"
|
||||
- Fix crashes due to invalid smart collection searches, e.g. `smart_collection:"this collection does not exist"`
|
||||
- Fix UI crash when editing block playout that has default deco
|
||||
|
||||
## [25.8.0] - 2025-10-26
|
||||
### Added
|
||||
|
||||
@@ -20,6 +20,8 @@ public class GetDecoByPlayoutIdHandler(IDbContextFactory<TvContext> dbContextFac
|
||||
.Include(p => p.Deco)
|
||||
.ThenInclude(d => d.DecoGraphicsElements)
|
||||
.ThenInclude(d => d.GraphicsElement)
|
||||
.Include(p => p.Deco)
|
||||
.ThenInclude(d => d.BreakContent)
|
||||
.SelectOneAsync(p => p.Id, p => p.Id == request.PlayoutId && p.DecoId != null, cancellationToken)
|
||||
.MapT(p => Mapper.ProjectToViewModel(p.Deco));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user