Browse Source

fix: add playout button should open drop down menu (#2853)

pull/2855/head
Jason Dove 1 month ago committed by GitHub
parent
commit
ddc8ef7f02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGELOG.md
  2. 2
      ErsatzTV/Pages/Playouts.razor
  3. 4
      ErsatzTV/Pages/TelevisionSeasonList.razor

3
CHANGELOG.md

@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `Legacy` - (default) uses existing streaming engine
- `Next` - will use ErsatzTV Next streaming engine, when it is compatible with ErsatzTV Legacy
### Fixed
- Fix `Add Playout` button not opening drop down menu (regression from v26.4.0)
## [26.4.0] - 2026-04-18
### Changed
- Re-branded as `ErsatzTV Legacy`

2
ErsatzTV/Pages/Playouts.razor

@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
<div style="margin-left: auto" class="d-none d-md-flex">
<MudMenu>
<ActivatorContent>
<MudButton StartIcon="@Icons.Material.Filled.Add" Variant="Variant.Filled" Color="Color.Primary">Add Playout</MudButton>
<MudButton StartIcon="@Icons.Material.Filled.Add" Variant="Variant.Filled" Color="Color.Primary" OnClick="@context.ToggleAsync">Add Playout</MudButton>
</ActivatorContent>
<ChildContent>
<MudMenuItem Icon="@Icons.Material.Filled.Add" Label="Classic Schedule" Href="playouts/add"/>

4
ErsatzTV/Pages/TelevisionSeasonList.razor

@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
<MudStack Row="true" Breakpoint="Breakpoint.SmAndDown" Class="mb-6">
<MudMenu>
<ActivatorContent>
<MudButton StartIcon="@Icons.Material.Filled.Add" Variant="Variant.Filled" Color="Color.Primary">Add To</MudButton>
<MudButton StartIcon="@Icons.Material.Filled.Add" Variant="Variant.Filled" Color="Color.Primary" OnClick="@context.ToggleAsync">Add To</MudButton>
</ActivatorContent>
<ChildContent>
<MudMenuItem Label="Collection" Icon="@Icons.Material.Filled.Add" OnClick="@AddToCollection"/>
@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
{
<MudMenu>
<ActivatorContent>
<MudButton StartIcon="@Icons.Material.Filled.Search" Variant="Variant.Filled" Color="Color.Primary">Scan</MudButton>
<MudButton StartIcon="@Icons.Material.Filled.Search" Variant="Variant.Filled" Color="Color.Primary" OnClick="@context.ToggleAsync">Scan</MudButton>
</ActivatorContent>
<ChildContent>
<MudMenuItem Label="Quick Scan" Icon="@Icons.Material.Filled.Search" OnClick="@(_ => ScanShow(false))"/>

Loading…
Cancel
Save