Browse Source

clear playout detail on delete (#266)

pull/269/head
Jason Dove 4 years ago committed by GitHub
parent
commit
a75737a032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 4
      ErsatzTV/Pages/Playouts.razor

1
CHANGELOG.md

@ -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
ErsatzTV/Pages/Playouts.razor

@ -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;
}
} }
} }

Loading…
Cancel
Save