scheduling bug fixes (#1238)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user