scheduling bug fixes (#1238)

This commit is contained in:
Jason Dove
2023-04-11 09:22:51 -05:00
committed by GitHub
parent cf1552910a
commit a684dcced9
9 changed files with 69 additions and 37 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
@implements IDisposable
@inject IDialogService _dialog
@inject IMediator _mediator
@inject ChannelWriter<IBackgroundServiceRequest> WorkerChannel;
<MudContainer MaxWidth="MaxWidth.ExtraLarge" Class="pt-8">
<MudButton Variant="Variant.Filled" Color="Color.Primary" Link="playouts/add">
@@ -176,7 +177,7 @@
private async Task ResetPlayout(PlayoutNameViewModel playout)
{
await _mediator.Send(new BuildPlayout(playout.PlayoutId, PlayoutBuildMode.Reset), _cts.Token);
await WorkerChannel.WriteAsync(new BuildPlayout(playout.PlayoutId, PlayoutBuildMode.Reset), _cts.Token);
if (_table != null)
{
await _table.ReloadServerData();