Browse Source

fix path replacements page with mysql (#1521)

pull/1527/head
Jason Dove 2 years ago committed by GitHub
parent
commit
3d3bb64844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 4
      ErsatzTV/Shared/RemoteMediaSourcePathReplacementsEditor.razor

3
CHANGELOG.md

@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix error loading path replacements when using MySql
- Fix tray icon shortcut to open logs folder on Windows
## [0.8.4-beta] - 2023-12-02
### Fixed

4
ErsatzTV/Shared/RemoteMediaSourcePathReplacementsEditor.razor

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<MudContainer MaxWidth="MaxWidth.ExtraLarge" Class="pt-8">
<MudTable Hover="true" Items="_pathReplacements.OrderBy(r => r.Id)" Dense="true" @bind-SelectedItem="_selectedItem">
<ToolBarContent>
<MudText Typo="Typo.h6"><b>@_source.Name</b> Path Replacements</MudText>
<MudText Typo="Typo.h6"><b>@_source?.Name</b> Path Replacements</MudText>
</ToolBarContent>
<ColGroup>
<col/>
@ -87,7 +87,7 @@ @@ -87,7 +87,7 @@
public Func<List<RemoteMediaSourcePathReplacementEditViewModel>, IRequest<Either<BaseError, Unit>>> GetUpdatePathReplacementsRequest { get; set; }
private RemoteMediaSourceViewModel _source;
private List<RemoteMediaSourcePathReplacementEditViewModel> _pathReplacements;
private List<RemoteMediaSourcePathReplacementEditViewModel> _pathReplacements = new();
private RemoteMediaSourcePathReplacementEditViewModel _selectedItem;

Loading…
Cancel
Save