clear playout detail on delete (#266)

This commit is contained in:
Jason Dove
2021-06-14 18:44:10 -05:00
committed by GitHub
parent 57aa14b764
commit a75737a032
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Fix ui crash adding a channel without a watermark - Fix ui crash adding a channel without a watermark
- Clear playout detail table when playout is deleted
## [0.0.46-prealpha] - 2021-06-14 ## [0.0.46-prealpha] - 2021-06-14
### Added ### Added
+4
View File
@@ -115,6 +115,10 @@
{ {
await _mediator.Send(new DeletePlayout(playout.PlayoutId)); await _mediator.Send(new DeletePlayout(playout.PlayoutId));
await _table.ReloadServerData(); await _table.ReloadServerData();
if (_selectedPlayoutId == playout.PlayoutId)
{
_selectedPlayoutItems = null;
}
} }
} }