clear playout detail on delete (#266)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user